Pages

Wednesday, February 16, 2011

IE Rendering Modes

  • IE=5
    • <meta http-equiv="X-UA-Compatible" content="IE=5" />
    • This forces IE 8 to render the page in “Quirks” mode.
  • IE=7
    • <meta http-equiv="X-UA-Compatible" content="IE=7" />
    • This forces IE 8 to render the page using IE 7 Strict mode.
  • IE=EmulateIE7
    • <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    • This forces IE 8 to use the !DOCTYPE declaration in the page to determine the rendering mode.
  • IE=8
    • <meta http-equiv="X-UA-Compatible" content="IE=8" />
    • This forces IE 8 to display the page in Internet Explorer Standards mode.
  • IE=EmulateIE8
    • <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    • This forces IE 8 to use the !DOCTYPE declaration in the page to determine the rendering mode.
  • IE=edge
    • <meta http-equiv="X-UA-Compatible" content="edge" />
    • This forces Internet Explorer 8 to render in the most recent mode. For instance; currently this would behave like using a value of IE=8, but when IE 9 is available that will be the mode that IE=edge will render in.