internet-explorer-9compatibility-mode

Why does IE9 give the option to render in compatibility mode


Why on some sites is there the option to render the page in compatibility mode, as in the little broken page icon in the address bar. Then on other sites it doesn't.

What ie9 logic in deciding if this option should be present or not

Even if the site is html5 and if i've added

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

Solution

  • Ok finally managed to get rid of compatibility mode icon from IE9. Id tried putting the meta tag in various position within the code. But always seemed to have the option to run in compatibility mode.

    But adding the following to the .htaccess file soloved it for me.

    Header set X-UA-Compatible "IE=edge"