Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
29
rated 0 times [  35] [ 6]  / answers: 1 / hits: 16074  / 14 Years ago, mon, october 18, 2010, 12:00:00

My company uses IE8 as the default browser and by default compatibility mode is set for all intranet sites. I'm building an intranet site that works when compatibility mode is turned off. I'm using reset.css and several opensource javascript programs, e.g. datatables.



What I'd like to do is force compatibility mode off for my site. Is there any programmatic way to do it? I have tried setting the meta values



 <meta http-equiv=X-UA-Compatible content=IE=IE8 />


and



 <meta http-equiv=X-UA-Compatible content=IE=Edge /> 


to no avail.



What's the most frustrating part is that Chrome and Firefox work great as is.


More From » css

 Answers
100

The <meta> tag has to be the first tag inside the <head>, other than <title> and other <meta> elements.




The X-UA-compatible header is not case sensitive; however, it must appear in the Web page's header (the HEAD section) before all other elements, except for the title element and other meta elements.




http://msdn.microsoft.com/en-us/library/cc288325%28VS.85%29.aspx#DCModes


[#95278] Friday, October 15, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
malkajillc

Total Points: 652
Total Questions: 107
Total Answers: 98

Location: Finland
Member since Sat, Nov 6, 2021
3 Years ago
malkajillc questions
;