August 28, 2008
11:23 am

As you all know, the Internet Explorer team has been working hard to make IE8 the most standards compliant browser around. Unfortunately, not all web sites confirm to these standards today. If you have concerns about your web site rendering correctly in IE8 standards mode, then there is some help for you out there:

First – you can address the issues on a page-by-page basis using the following HTTP meta-tag:

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

This tag, when seen by IE8 will render the page in IE7 compatibility mode regardless of whether or not you’ve set IE to run in IE8 Standards mode or not.  This is a great solution for that one page in the site that doesn’t quite render correctly in Standards mode.

Second – you can add this header via IIS to all of your pages either via the config files directly:

<?xml version="1.0" encoding="utf-8"?><configuration>  <system.webServer>    <httpProtocol>      <customHeaders>        <add name="X-UA-Compatible" value="IE=EmulateIE7">      </customHeaders>    </httpProtocol>  </system.webServer></configuration> 

or using the IIS7 admin tool (which, as we all know, just updates the config files for you). For those of you running Apache instead of IIS, check this blog post on how to configure your Apache server to render pages in IE7-compatibility mode.  You can also get more information about IE8 Compatibility Mode can be found on the IE8 section of the MSDN web site.

Source:→ Chris Koenig's Blog

Loading

Contextual Related Posts:

2 Responses | RSS comments on this post | Leave a comment»

  1. 1
    Matt Strum says#2 | February 28th, 2009 at 6:46 pm

    Hey, just wanted to let everyone know I recently created a WordPress plugin which adds this tag. You can find it at IE7 Compatibility Plugin 1.0

  1. Pingback from
    1
    Cory Watilo – According to Microsoft, web standards doesn’t really mean web standards says:September 5th, 2008 at 10:34 pm

    [...] to Microsoft, web standards doesn’t really mean web standards » According to Microsoft, web standards doesn’t really mean web standardsInternet Explorer 8 provides a tag that developers can use to force IE8 to render like IE7. Why? For [...]

Leave a Response

Comment Preview
« Requesting hotfixes from Microsoft.NetMap 1.0.1.52 »
Feed Icon

Subscribe via RSS or email: