html - Bootstrap 2.3.2 弹出窗口样式不适用于 IE 11(及更早版本)

标签 html css internet-explorer twitter-bootstrap twitter-bootstrap-2

我在我的页面上创建了一个简单的 bootstrap 2.3.2 弹出窗口,它在 Chrome 和 Firefox 上完美运行,但是当涉及到 IE 时,弹出窗口样式显示不正确:

IE screenshot

这是我的代码:

<a href="#" id="pop" rel="popover">(ver detalle) </a>

<div id="popoverContent" class="hide">
  <p>110001</p>
</div>

Javascript:

    $("#pop").popover({
        content: $('#popoverContent').html(), 
        title: "Detalle"
    });

最佳答案

问题是 Internet Explorer 正在以兼容 View 模式运行页面,默认情况下为 Intranet 网站启用该模式。我通过按 Alt 键显示菜单栏并转到“工具”>“兼容性 View 设置”并取消选中“在兼容性 View 中显示 Intranet 站点”来解决此问题。

关于html - Bootstrap 2.3.2 弹出窗口样式不适用于 IE 11(及更早版本),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18573298/

相关文章:

html - 如何制作具有流动表格行的 XHTML "table"

html - 日历重叠

javascript - IE 9 中阻止的 Facebook 登录弹出窗口

html - 输入类型 = 'submit' 样式未出现在 IE 7 中

javascript - 如何在不破坏此 DIV 的悬停区域的情况下在 DIV 上放置一些文本?

html - 没有换行的 CSS 水平元素?

html - 与 tabless 布局中页脚上的 clear 属性有关的一些疑问

php - 交叉兼容 CSS(定位)?

javascript - 可下载的 Mp3 文件

html - Google Web 字体字体粗细无法正确呈现