强制IE9使用浏览器模式不兼容模式 [英] Force IE9 to use Browser mode not Compatibility mode
问题描述
我在中使用
标记。但是,当我在IE9上运行我的应用程序时,它正在使用浏览器模式:IE9兼容视图。 < meta http-equiv =X-UA-Compatiblecontent =IE = edge>
我希望我的应用程序只使用浏览器模式:IE9 ,而不是兼容视图。
I am using <meta http-equiv="X-UA-Compatible" content="IE=edge">
in head
tag. But, when I am running my application on IE9, then it is using Browser Mode : IE9 Compat View.
I want my application to use only Browser Mode : IE9, not Compat view.
推荐答案
我意识到我有点晚了,但这里是我已经使用,它已经为我工作:
I realize I'm a bit late on this but here's what I have used and it has worked for me:
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
确保这是文档头部的 FIRST 元标记
Make sure this is the FIRST meta tag in the head of your document (I put it directly after the opening tag).
在此找到此解决方案: http://technicalstuffhopefullyuseful.blogspot.com/2013/09/force-internet-explorer-compatibility.html
Found this solution here: http://technicalstuffhopefullyuseful.blogspot.com/2013/09/force-internet-explorer-compatibility.html
这篇关于强制IE9使用浏览器模式不兼容模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!