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');
Did this help you? Please let me know with a comment. Thank you
Posted .

Comments (RSS)

Leave a comment