How to fix compatibility view in IE

To fix Compatibility View in Internet Explorer, force IE to use the latest rendering engine.

<?php
// Avoid Compatibility View and force IE to use the latest rendering engine.
// Send via an HTTP header as the meta tag doesn't override the "Display
// intranet sites in Compatibility View" setting.
header('X-UA-Compatible: IE=Edge');
View this page on GitHub.
Posted .

Comments

Leave a Reply