默认情况下,在IE11上以IE7模式打开应用程序 [英] Application opening in IE7 mode by default on IE11

查看:316
本文介绍了默认情况下,在IE11上以IE7模式打开应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我打开服务器上部署的应用程序时,IE模式将设置为默认IE7(我在开发人员工具中签入).我需要在打开时将其作为IE边缘模式打开.此问题不是特定于浏览器的,而是特定于代码的,因为所有其他应用程序都可以在IE11模式下正常工作.

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.

我还在设置兼容模式:

<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?

推荐答案

在IE11中打开localhost或"Intranet"站点时,它将自动假定您要在IE7模式下进行渲染(上帝知道原因).有一个设置可以在IE中将其关闭.在此处引用 Internet Explorer 11禁用显示Intranet"兼容性视图中的网站"通过元标记不起作用

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

这篇关于默认情况下,在IE11上以IE7模式打开应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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