Set IE compatibility mode using X-UA-Compatible

1.2k Views Asked by At

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.

2

There are 2 best solutions below

0
On BEST ANSWER

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

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

1
On

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