我的网站在IE8中正确呈现,当我使用Windows 8.1时,默认浏览器是IE11,我们如何强制IE 11在IE 8兼容模式下运行。
我已经尝试了其他帖子中所述的选项
How to force compatibility mode for all versions of IE?
ASP.NET Project and IE10 Compatibility Mode issues in Windows 7
Why does IE9 switch to compatibility mode on my website?
我正在设置我的根网络配置,如
<httpProtocol>
<customHeaders>
<remove name="X-UA-Compatible"/>
<add name="X-UA-Compatible" value="IE=EmulateIE8"/>
</customHeaders>
</httpProtocol>
如果我使用fiddler检查响应头,那就是对我说的 X-UA兼容:IE = EmulateIE8
但是它仍然没有正确呈现。
答案 0 :(得分:1)
我想你想要“IE = 8”:
<meta http-equiv="x-ua-compatible" content="IE=8">
请参阅MSDN上的specifying legacy document modes。