IE 11兼容性视图 [英] IE 11 compatibility view
问题描述
我的网站是在IE11打破。我们发现它坏了,由于XSLTProcessor中和XPathEvaluator,因为它们不支持在IE浏览器了。我做了一些R&安培; D和发现,它也不会在IE9和IE10支持,但我的网站在IE9和IE10工作的罚款。我想知道为什么它在IE11坏了?
My website is broken in IE11. We found that it’s broken due to XSLTProcessor and XPathEvaluator since they are not supported any more in IE. I did some R&D and found that it’s also not supported in IE9 and IE10 but my website is working fine in IE9 and IE10. May I know why it is broken in IE11?
在下面的截图中,我们可以看到,文件模式怪癖。难道我们对IE11同样的行为?
In below screenshot, we can see that document mode is Quirks. Don’t we have same behavior for IE11?
修改
我们也有meta标签在我们的母版页,它工作正常,直到IE10但它在IE11打破。
We also have meta tag in our master page and it was working fine until IE10 but it’s broken in IE11.
<meta http-equiv="X-UA-Compatible" content="IE=8" />
难道我们必须使用不同的元标签IE11?
Do we have to use different meta tags for IE11?
推荐答案
我改变了元标记&LT; META HTTP-EQUIV =X-UA-Compatible的内容=IE = 5/方式&gt;
,它开始工作的罚款
I changed meta tag to <meta http-equiv="X-UA-Compatible" content="IE=5" />
and it started working fine.
这篇关于IE 11兼容性视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!