IE10 – Setting specific browser & document modes

internet-explorer-10

I need to get an old web application to display correctly in IE10. Using the developer tools of IE, the configuration of IE10 Compatibility browser mode & IE5 Quirks document mode, proved to be the best configuration.

Using the pages code-behind to adjust the response header to include the 'X-UA-Compatible' HTTP header when the browser is IE10, the document mode is correctly set to IE5 Quirks mode, but the browser mode is still stuck on IE10.

While the web application is being re-factored to be cross-browser compatible, how can I adjust the modes without requiring the user to set any configuration (compatibility view settings) or using the developer's toolbar.

Best Answer

Try setting the doc type to: <meta http-equiv="X-UA-Compatible" content="IE=5quirks"/> This will render the same way as quirks mode did in older versions of IE.

Related Topic