Code

Kill IE's Compatibility View

  • Category: Code
  • Last edited: September 27, 2012

Internet Explorer’s Compatibility View is the bane of my existance when I am working on a front-end build. Instead of trying to fix bugs for an additional two versions of IE (yikes!), just drop one of these codes in the of your page to force IE to render your page as IE7 or IE8.

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" >
<meta http-equiv="X-UA-Compatible" content="IE=8" />