无法使用元http-equiv =“X-UA-compatible”将文档模式限制为IE 9。在服务器端? [英] Not able to restrict document mode to IE 9 using meta http-equiv="X-UA-compatible" at server end?

查看:96
本文介绍了无法使用元http-equiv =“X-UA-compatible”将文档模式限制为IE 9。在服务器端?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用

< meta http-equiv =X-UA-Compatiblecontent =IE = EmulateIE9/>

限制我的文件服务器端的IE 9模式,

此代码在我的本地服务器上工作正常,并将IE 9设置为默认模式,但同样在服务器端无效。



我尝试过:



< meta http-equiv =X-UA-Compatiblecontent = IE = EmulateIE9/>

I am using
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9"/>
to restrict my document mode to IE 9 at server end,
this code works fine at my local server and set IE 9 as default mode but same is not working at server end.

What I have tried:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9"/>

推荐答案

HTML标签与服务器代码及其生成的内容无关。



这些标签只是浏览器呈现页面的建议。它们也可以被浏览器策略覆盖,你无能为力。
HTML tags have nothing to do with the server code and what it generates.

Those tags are only suggestions to the browser rendering the page. They can also be overriden by browser policy and there's nothing you can do about that.


这篇关于无法使用元http-equiv =“X-UA-compatible”将文档模式限制为IE 9。在服务器端?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆