Question

We have noticed that in some IE8 and IE9 and IE10 the meta tag

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

is not respected...or at least looks like the browser ignores it.

Any other suggestons how to explicitly set the compatibility mode in IE?

We use some thirt parthy (rish faces3) components in our software that does not work in IE8+ and upgrading those is not an option.

Était-ce utile?

La solution

The proper value is IE=EmulateIE7 with no space in it.

http://msdn.microsoft.com/en-us/library/jj676915(v=vs.85).aspx

Autres conseils

Try the following meta-tag:

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

This will display the site as if it's IE7, rather than emulating IE7

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top