<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 中工作

        时间:2023-09-07

        <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 中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:是否可以更改默认的 html5 视频皮肤/颜色 下一篇:HTML 时间标签 - 正确的日期格式

                  相关文章

                  • <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>

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