Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IE10 - Setting specific browser & document modes

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.

like image 798
NeilC Avatar asked Sep 12 '12 07:09

NeilC


1 Answers

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.

like image 129
popbottlepirate Avatar answered Oct 07 '22 22:10

popbottlepirate