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:

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

An example of this is place would be:

<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
</head>

This must be the first meta tag in your code, otherwise it doesn’t work.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.