internet-explorer - 强制 IE9 使用浏览器模式而不是兼容模式

标签 internet-explorer cross-browser internet-explorer-9

我正在使用<meta http-equiv="X-UA-Compatible" content="IE=edge">head标签。但是,当我在 IE9 上运行应用程序时,它使用的是浏览器模式:IE9 兼容 View 。 我希望我的应用程序仅使用浏览器模式:IE9,而不是兼容 View 。

最佳答案

我意识到我在这方面有点晚了,但这是我使用过的并且它对我有用:

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

确保这是文档头部的FIRST元标记(我将它直接放在开始标记之后)。

在这里找到了这个解决方案:http://technicalstuffhopefullyuseful.blogspot.com/2013/09/force-internet-explorer-compatibility.html

关于internet-explorer - 强制 IE9 使用浏览器模式而不是兼容模式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11761037/

相关文章:

html - ie9 边框半径

jsf-2 - &lt;meta http-equiv ="X-UA-Compatible"content ="IE=8"/> 在 RichFaces webapp 中被忽略

javascript - 从书签更改 IE 标题

javascript - 为什么此网页只能在 Internet Explorer 中运行?

internet-explorer - 从版本 9 及更高版本测试不同版本的 IE 是否有任何值(value)

c# - 按钮单击仅在 IE9 中的更新面板中不起作用

javascript - Ckeditor IE 的重复节点复制器功能

javascript - 附加 html 字符串时,IE 从维度中删除 "%"

html - Firefox 以不同于所有其他浏览器的方式显示填充

CSS Border-collapse 结合虚线边框