html - Bootstrap 3 按钮在 IE11 中不起作用

标签 html internet-explorer twitter-bootstrap button

这是我使用的按钮设计:

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

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

最佳答案

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

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

关于html - Bootstrap 3 按钮在 IE11 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21255668/

相关文章:

html - CSS transition 是否会破坏 transform 属性(悬停时)?

excel - VBA:如何等到excel下载完成?

c++ - 如何使用 VARIANT 指定颜色

javascript - 由于浏览历史设置,angularjs http.get 调用未在 ie10 中触发

html - 适用于 Iphone 6 和 Iphone 6 plus 的媒体 Css

html - 按钮对齐不会位于我告诉它的位置

javascript - div 之间的网格高度问题?

javascript - 如果选择了正确的单选按钮,启用按钮的最有效方法是什么?

twitter-bootstrap - Bootstrap Modal 立即消失

javascript - 使用 Bootstrap 在 NavBar 底部导航?