Turn off IE 8 Compatibility Mode for site

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" />


 <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.


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.


These must be the FIRST meta tag on your page. Perhaps that's the issue.

Need Your Help

Are there other common "c-like" or non "c-like" languages with non zero index array position?

arrays programming-languages indexing

C programming language is known as a zero index array language. The first item in an array is accessible using 0. For example double arr[2] = {1.5,2.5} The first item in array arr is at position 0....

com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed

java sql-server-2008 jdbc

I keep on getting this error. I tried one solution from stackoverflow (below) which did not work for me -