Tuesday, September 18, 2012

IE - Compatiblity Issue

If you want your site not to open in Compatibility Mode in IE just add the following line in HEAD og your page.

<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />

Now it'll try IE9 mode first, IE8, then IE7. You can even set IE=EDGE so it'll use the highest mode possible.

No comments:

Post a Comment