Internet explorer 8 在ASP.NET中强制IE 11以IE 8兼容模式运行

Internet explorer 8 在ASP.NET中强制IE 11以IE 8兼容模式运行,internet-explorer-8,internet-explorer-11,ie8-compatibility-mode,Internet Explorer 8,Internet Explorer 11,Ie8 Compatibility Mode,我的网站在IE8中正确呈现,当我使用Windows8.1时,默认浏览器是IE11,我们如何强制IE11在IE8兼容模式下运行 我已经尝试过其他帖子中提到的选项 我在我的根web配置中设置为 <httpProtocol> <customHeaders> <remove name="X-UA-Compatible"/> <add name="X-UA-Compatible" value="IE=Emulate

我的网站在IE8中正确呈现,当我使用Windows8.1时,默认浏览器是IE11,我们如何强制IE11在IE8兼容模式下运行

我已经尝试过其他帖子中提到的选项

我在我的根web配置中设置为

<httpProtocol>
      <customHeaders>
        <remove name="X-UA-Compatible"/>
        <add name="X-UA-Compatible" value="IE=EmulateIE8"/>
      </customHeaders>
    </httpProtocol>

如果我使用fiddler检查响应头,它会告诉我 X-UA-Compatible:IE=仿真E8

但是它仍然没有正确渲染。

我想您需要“IE=8”:


请参阅:关于MSDN

<meta http-equiv="x-ua-compatible" content="IE=8">