سؤال

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.

هل كانت مفيدة؟

المحلول

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

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

نصائح أخرى

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top