Application opening in IE7 mode by default on IE11

僤鯓⒐⒋嵵緔 提交于 2019-12-25 06:58:25

问题


When I am opening my application deployed on server, the IE mode is getting set to default IE7 (I checked in developer tools). I need when I open, it should open as IE edge mode. This issue is not browser specific but code specific as all other apps are working fine as IE11 mode.

I am also setting the compatibility mode:

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"></meta>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>

Do I need to make any other changes?


回答1:


When you open localhost or "intranet" sites in IE11 it will automatically assume you want to render it in IE7 mode (God knows why). There is a setting to turn this off in IE. Referenced here Internet Explorer 11 disable "display intranet sites in compatibility view" via meta tag not working



来源:https://stackoverflow.com/questions/37460492/application-opening-in-ie7-mode-by-default-on-ie11

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!