Forcing IE 10 to IE 9 mode.

Our application runs in IE 10 mode, but a 3rd party server we access to display documents in an Iframe does not. We have found by using the Developer Tools that if we set the Browser Mode to IE 10 compat mode and Document Mode: IE9 that both our app and the 3rd Party is happy.

However, IE 10 seems entirely resistant to metatags in the web page:
  <meta http-equiv="X-US-Compatible" content="IE9" />

or even registry changes:
\HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\mail\FeatureControl\FEATURE_BROWSER_EMULATION
iexplorer.exe = 9999 (decimal)

Running IE 10 on Win 7 or Win 2008 R2
Who is Participating?
NJThomsonConnect With a Mentor Author Commented:
We solved this problem and learned a few things:

After reading elsewhere that the <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9"> statement really has to be early, if not first in the header or it will be ignored.

If the two lines:

<meta http-equiv="Content-type"  content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9">

are to the front of the header, the Compatible content setting is successfully applied.

In addition, this helps with a related problem of controlling the rendering engine used when in compatibility mode. While it is not possible to change the browser mode (e.g. IE10 or IE10 Compatililty) controlling the document mode will override the rendering selected (e.g. in compatibility mode it otherwise forces the page to IE7Standards or lower), which is effectively controlling the browser mode.
It looks like you misspelled the http-equiv: "X-US-Compatible" instead of "X-UA-Compatible".

Please try the following:
<meta http-equiv="X-UA-Compatible" content="IE=9">

Open in new window

NJThomsonAuthor Commented:
Miss-typed the question (and can't edit).

Actually we've tried the following variations - with no impact.

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
My guess would be that you use a doctype declaration. According to various sources, IE10 will disregard the "x-ua-compatible" tag if a doctype declaration is found. Removing the doctype declaration should fix this.

For more information:
IE10 and X-UA-Compatible
IE Dev Center: Specifying legacy document modes
NJThomsonAuthor Commented:
We resolved the problem ourselves from other various posts around the web.

We've included solved the problem and other things we learned in the last comment
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.