【问题标题】:bootstrap 3 Button not working in IE11bootstrap 3按钮在IE11中不起作用
【发布时间】:2014-01-21 10:38:33
【问题描述】:

这是我使用的按钮设计:

 <a href="editpage.php?id=6"><button type="button" class="btn btn-primary">Endre</button></a>&nbsp;

该按钮适用于除 IE11 以外的所有浏览器(不知道其他版本的 IE),我不知道为什么。我正在使用引导程序 3。 我已经包含了对 HTML5 元素等的 bootstrap.js 和 IE8 支持。

【问题讨论】:

    标签: html internet-explorer twitter-bootstrap button


    【解决方案1】:

    为什么不尝试将 css 类添加到锚点而不是添加不必要的按钮元素?

    <a href="editpage.php?id=6" class="btn btn-primary">Endre</a>&nbsp;
    

    【讨论】:

    • 你是否包含了引导 css ? 已在 IE10 中正常工作
    • 在 IE11 上这个按钮到底有什么问题?
    猜你喜欢
    • 2017-01-30
    • 2015-04-29
    • 1970-01-01
    • 2016-12-13
    • 2015-07-07
    • 2016-06-11
    • 2022-08-17
    • 2014-11-19
    相关资源
    最近更新 更多