Apr 102012
If you ever come across a website that renders as though it’s in IE7, even though it’s IE9 or later, try checking the meta tags. It probably has this set:
<meta http-equiv=”X-UA-Compatible” content=”IE=EmulateIE7″>
This tells the browser to render as though it’s Internet Explorer 7 no matter what the version.
If you need to detect whether this is happening programmatically, you can do so with the following attribute:
if(document.documentMode==7) ….
Hope that helps!