English 中文(简体)
我如何阻止IE9自动进入兼容模式?
原标题:How do I stop IE9 automatically going into compatibility mode?

我在几个小时的时间里一直在这样做,而且仍然不高兴。 页: 1

我已:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

我还有文件方式,即:

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

这使IE8对文件模式(好)产生结果,但导致浏览器模式自动形成兼容模式,使网站 up。

在为来访者装上页时,我需要作什么改动,以制止IE9的违约。

问题回答

使用 met子tag:

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

IE=EmulateIE7。 IE=5, IE=7, IE=8,或IE=9





相关问题
Which border radius property will work in IE9?

In IE9, which border radius property will work? border-radius:20px -webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius:20px or ms-border-radius:20px

Embedding Javascript in My Application

I want to embed Javascript in my own application. I know I can do this with all the open source Javascript engines like V8, TraceMonkey/SpiderMonkey. But, scanning through the source code learning ...

Will IE9 support conditional comments?

I thought I remembered reading somewhere that IE9 would not be supporting them, but now after searching I can t find any indication that this is true. Is anyone aware of a definitive statement, ...

Future of IE9: Opacity + Performance [closed]

I just tried the IE9 "Second Internet Explorer Platform Preview" - which supports CSS opacity now. That s nice, but I tried it with one of my website prototypes, and it s quite slow when scrolling etc....

Dev Tools in IE6

I would like to use dev tools like FireBug or the elements built into IE8 for my IE6 testing. IE9 would provide this. Before creating an IE9 environment, I thought I would check here. Do any of you ...

热门标签