问题描述
我们的网站在IE11中破坏了真正的糟糕。发生的事情是它进入文档模式5(默认)并且浏览器配置文件被强制为企业。
一旦我将Enterprise更改为Desktop,该站点就是好的。
有什么办法,我可以强制我的网站不要去Enterprise和/或Use Edge作为文档模式吗?
我试过以下但没有任何效果: -
将此放在
<$ p之后$ p>
< meta http-equiv =X-UA-Compatiblecontent =IE = edge,chrome = 1>
将Doctype更改为: -
<!DOCTYPE html PUBLIC - // W3C // DTD XHTML + RDFa 1.0 // EN
http://www.w3.org/MarkUp/DTD/xhtml -rdfa-1.dtd>
和
<!DOCTYPE html>
P.S。我的服务器是Suse Linux,我不允许对其进行任何更改。我只能在我的网站或htaccess中进行更改。
您需要弄清楚您的网站处于企业模式的原因。以下是我所知道的可能性及其各自的解决方案:
- 运行您的计算机所在域的任何人都设置了企业模式站点列出您的网站作为要求企业模式。要解决此问题,您需要联系该人并让他们排除您的网站。
- 您已选择在企业模式下加载页面,方法是转到工具菜单并点击企业模式。这很好,因为这意味着您网站的用户不应该看到同样的问题。修复是在您的网站上再次点击相同的菜单选项,它应该退出企业模式。
Our site is breaking real bad in IE11. What's happening is that it goes into "Document Mode" 5 (Default) and Browser profile is forced as Enterprise.
As soon as I change Enterprise to Desktop, the site is all good.
Is there any way, I can force my site not to go to Enterprise and/or Use Edge as document mode ?
I have tried following but nothing worked:-
putting this right after
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
changing Doctype as :-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
and
<!DOCTYPE html>
P.S. My server is Suse Linux and I am not allowed to make any change in it. Only changes I can do are in my site or htaccess.
You need to figure out why your site is in Enterprise Mode. Here are the possibilities I know of, and their respective solutions:
- Whoever runs the domain your computer is on has set up an Enterprise Mode site list with your site included as requiring Enterprise Mode. To fix this, you'll need to contact that person and get them to exclude your site.
- You have chosen to load your page in Enterprise Mode by going to the tools menu and clicking "Enterprise Mode". This is good because it means the users of your site shouldn't be seeing the same issue. The fix is to hit that same menu option again on your site, and it should be taken out of Enterprise Mode.
这篇关于Windows 8中的IE11站点损坏 - 进入企业模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!