<small id='KGrqL'></small><noframes id='KGrqL'>

      <i id='KGrqL'><tr id='KGrqL'><dt id='KGrqL'><q id='KGrqL'><span id='KGrqL'><b id='KGrqL'><form id='KGrqL'><ins id='KGrqL'></ins><ul id='KGrqL'></ul><sub id='KGrqL'></sub></form><legend id='KGrqL'></legend><bdo id='KGrqL'><pre id='KGrqL'><center id='KGrqL'></center></pre></bdo></b><th id='KGrqL'></th></span></q></dt></tr></i><div id='KGrqL'><tfoot id='KGrqL'></tfoot><dl id='KGrqL'><fieldset id='KGrqL'></fieldset></dl></div>
      <legend id='KGrqL'><style id='KGrqL'><dir id='KGrqL'><q id='KGrqL'></q></dir></style></legend>
        <bdo id='KGrqL'></bdo><ul id='KGrqL'></ul>

      1. <tfoot id='KGrqL'></tfoot>

        &lt;按钮&gt;不能在 IE8 中工作

        lt;buttongt; not working in IE8(lt;按钮gt;不能在 IE8 中工作)

        <small id='jEFG4'></small><noframes id='jEFG4'>

            <tbody id='jEFG4'></tbody>
          <legend id='jEFG4'><style id='jEFG4'><dir id='jEFG4'><q id='jEFG4'></q></dir></style></legend>

                  <bdo id='jEFG4'></bdo><ul id='jEFG4'></ul>
                  <tfoot id='jEFG4'></tfoot>

                • <i id='jEFG4'><tr id='jEFG4'><dt id='jEFG4'><q id='jEFG4'><span id='jEFG4'><b id='jEFG4'><form id='jEFG4'><ins id='jEFG4'></ins><ul id='jEFG4'></ul><sub id='jEFG4'></sub></form><legend id='jEFG4'></legend><bdo id='jEFG4'><pre id='jEFG4'><center id='jEFG4'></center></pre></bdo></b><th id='jEFG4'></th></span></q></dt></tr></i><div id='jEFG4'><tfoot id='jEFG4'></tfoot><dl id='jEFG4'><fieldset id='jEFG4'></fieldset></dl></div>
                • 本文介绍了&lt;按钮&gt;不能在 IE8 中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我的网站上有许多使用按钮标签的按钮,虽然在 IE8 上呈现良好,但它们不可点击(点击它们不会将用户发送到新网址).有什么解决方案可以为 IE 解决这个问题吗?是因为我将按钮包装在标签中吗?是不是因为我使用了按钮"的类名?

                  I have a number of buttons on my website using the button tag, and while rendering fine on IE8, they are not clickable (clicking them doesn't send the user to the new url). Are there any solutions to fix this for IE? Is it because I'm wrapping the button in an tag? Is it because I'm using a class name of "button"?

                  代码是:

                  <a href="product_home.html">
                  <button class="button green big_button">Learn more</button>
                  </a> 
                  

                  推荐答案

                  你的标记是错误的,这里不是 IE 的错误.按钮是一个表单元素,这意味着它需要一个表单围绕它应该发送用户的点 - 将按钮包装到链接标签中是不够的,也不完全有效,事实上我认为它不应该在任何地方工作,不是即使在其他浏览器中.

                  Your markup is wrong, IE is not in fault here. Button is a form element which means that it requires a form around it point where the user should be sent - wrapping the button into a link tag isn't enough nor exactly valid, in fact I don't think it should work anywhere, not even in other browsers.

                  要了解有关正确使用 <button/> 的更多信息,请访问 XHTML 参考:按钮

                  To read more about correct usage of <button/>, visit XHTML Reference: button

                  这篇关于&lt;按钮&gt;不能在 IE8 中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Embed YouTube video - Refused to display in a frame because it set #39;X-Frame-Options#39; to #39;SAMEORIGIN#39;(嵌入 YouTube 视频 - 拒绝显示在框架中,因为它将“X-Frame-Options设置为“SAMEORIGIN)
                  Stop embedded youtube iframe?(停止嵌入 youtube iframe?)
                  YouTube iframe API: how do I control an iframe player that#39;s already in the HTML?(YouTube iframe API:如何控制 HTML 中已有的 iframe 播放器?)
                  Switch/toggle div (jQuery)(切换/切换 div (jQuery))
                  How to avoid name clashes in JavaScript widgets(如何避免 JavaScript 小部件中的名称冲突)
                  Widget -what to do and what not(小部件 - 做什么和不做什么)
                  • <bdo id='Xj0Ag'></bdo><ul id='Xj0Ag'></ul>

                      <tfoot id='Xj0Ag'></tfoot>
                        1. <i id='Xj0Ag'><tr id='Xj0Ag'><dt id='Xj0Ag'><q id='Xj0Ag'><span id='Xj0Ag'><b id='Xj0Ag'><form id='Xj0Ag'><ins id='Xj0Ag'></ins><ul id='Xj0Ag'></ul><sub id='Xj0Ag'></sub></form><legend id='Xj0Ag'></legend><bdo id='Xj0Ag'><pre id='Xj0Ag'><center id='Xj0Ag'></center></pre></bdo></b><th id='Xj0Ag'></th></span></q></dt></tr></i><div id='Xj0Ag'><tfoot id='Xj0Ag'></tfoot><dl id='Xj0Ag'><fieldset id='Xj0Ag'></fieldset></dl></div>
                            <tbody id='Xj0Ag'></tbody>

                            <legend id='Xj0Ag'><style id='Xj0Ag'><dir id='Xj0Ag'><q id='Xj0Ag'></q></dir></style></legend>
                          • <small id='Xj0Ag'></small><noframes id='Xj0Ag'>