强制IE10中的HTML页面使用IE Quirks模式 [英] Force HTML page in IE10 to use IE Quirks mode

查看:440
本文介绍了强制IE10中的HTML页面使用IE Quirks模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我们有一组在IE8(Intranet)中很好运行的页面。该公司决定直接升级到IE10。



强制页面使用I5 Quirks模式的HTML代码是什么(这是它的工作模式)。我试过了:

 < meta http-equiv =X-UA兼容content =IE = IE5 /> 

但是IE10把页面设置为怪癖模式(而不是IE5)。您打开调试器(F12),然后您可以更改文档模式和浏览器模式。重要的是在IE5怪癖中设置文档模式



欢迎提供一些帮助

解决方案这个问题似乎在别处得到解决



Windows 8的Internet Explorer 10仍然有quirksmode?

http://blogs.msdn.com/b/ie/ archive / 2011/12/14 / interoperable-html5-quirks-mode-in-ie10.aspx

 < ; meta http-equiv = X-UA-Compatible content =IE = 5> 

所以,你的值是false,它是 IE = 5 而不是 IE = IE5


Indulge me, I'm fighting with IE.

We have a set of pages that work nicely in IE8 (intranet). The company decided upgrading directly to IE10.

What is the html code to force a page to use I5 Quirks Mode (this is the mode it works). I've tried with :

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

But IE10 put's the page in quirks mode (not IE5). You open the debugger (F12) and there you can change the document mode and the browser mode. The important is to set the document mode in IE5 quirks

Some help is welcomed

解决方案

The problem seems to be solved somewhere else

Does the windows 8 internet explorer 10 still have quirksmode?
http://blogs.msdn.com/b/ie/archive/2011/12/14/interoperable-html5-quirks-mode-in-ie10.aspx

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

So, your value is false, it's IE=5 and not IE=IE5

这篇关于强制IE10中的HTML页面使用IE Quirks模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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