Welcome to WebmasterWorld Guest from 184.73.112.180

Forum Moderators: open

Force-hide Compatibility Button and Compatibility Mode in IE

IE=Edge & doctype alone not preventing users from using compatibility mode!

   
8:12 am on Apr 6, 2011 (gmt 0)

WebmasterWorld Senior Member jab_creations is a WebmasterWorld Top Contributor of All Time 10+ Year Member



With the meta element set to IE=edge and obviously a doctype on every page I still have IE8 visitors showing up running around the internet with compatibility mode enabled. Obviously I want to force IE to use it's best possible rendering mode (IE=edge is just that) so how do I force override a user's compatibility mode? Yes, I clearly know better than the user since I test my work in over forty different browser/version combinations. :)

- John
8:51 am on Apr 6, 2011 (gmt 0)

WebmasterWorld Senior Member jab_creations is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Never mind...

- John

<?php
header('X-UA-Compatible: IE=edge');
?>
 

Featured Threads

Hot Threads This Week

Hot Threads This Month