IE8兼容性和文档模式 [英] IE8 Compatibility and Document mode

查看:152
本文介绍了IE8兼容性和文档模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想让IE 8将我的网站理解为IE8.而不是IE7,兼容模式等.

I want to make IE 8 understand my site as IE8. And not in IE7, compatibility mode, etc.

我在执行此操作时遇到了很多问题,即使本地主机中的同一站点也与生产服务器中的站点不同. (不用管什么语言,发生在php和asp.net).

I have had a lot of issues to do this, even the same site in my localhost was different that in the production server. (Never mind what language, happened with: php and asp.net).

我一直在看这些链接:

https://msdn.microsoft.com/zh-cn/library/cc288325(VS.85).aspx
https://msdn.microsoft.com/en-us/library/cc817574. aspx

但是我什么都没得到.

更新:

是的,这正是我想要的,迫使IE不要在兼容模式下呈现页面

Yes, that is exactly what I want, force IE not to render the page in compatibility mode

推荐答案

我没有得到很多

I didn't get much of your link either, but when I changed the language to English, it became rather comprehensible.

您尝试过

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

这应该告诉IE8使用最新的IE引擎和设置来呈现页面,而无需旧的浏览器仿真".

That should tell IE8 to render the page using the latest IE engine and settings, with no "old browser emulation".

这篇关于IE8兼容性和文档模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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