Force the compatibility mode in IE8




Force the compatibility mode in IE8
If your website doesn't display properly in IE8, then it's recommended that you amend your code, but in the meantime you could force Internet Explorer 8 to run in the compatibility mode.

Simply add the below line to the top of the <head></head> section of your website:
  1. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />  
An example of this is place would be:
  1. <head>     
  2.     <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />  
  3. </head>  
This must be the first meta tag in your code, otherwise it doesn't work.


14 people like this article, click here to say you like this article too (14)
Send a link to this page via email Send a link to this page