Easy Steps to Get your Web Site to Support IE8Posted By:
Neil Hutson Any users accessing your site using the Internet Explorer 8 (IE8) browser ( currently in Beta ) will typically not get a very good rendering experience if your site was designed for Internet Explorer 7 (IE7) because of new standards that IE8 is supporting around HTML and CSS formats. There are two ways to resolve this. On a Per-site basis, site owners and administrators can include the following custom HTTP header to force Internet Explorer 8 to render Web pages like Internet Explorer 7:
X-UA-Compatible: IE=EmulateIE7
To add a custom HTTP response header at the Web site level in Internet Information Services 7 on a Windows Server 2008-based computer, follow these steps:
You can also modify the IIS7 configuration file with the following details ( or you can check the config after the changes made above ) <system.webServer> <add name="X-UA-Compatible" value="IE=EmulateIE7" /> </customHeaders> </httpProtocol> To add a custom HTTP response header at the Web site level in Internet Information Services 6 and earlier versions, follow these steps:
Per-page basisSite owners and administrators can include the following special HTML tag after the <Head> tag on the page:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
The following example shows use of this Internet Explorer 7 compatibility mode tag on a per-page basis:
<html> <head> <!-- Use IE7 mode --> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title>My Web Page</title> </head> <body> <p>Content goes here.</p> </body> </html>
For more information about the EmulateIE7 tag, visit the IEBlog Web site:
http://blogs.msdn.com/ie/archive/2008/06/10/introducing-ie-emulateie7.aspx
Tags:
IIS7
,
IE 8
,
Internet Explorer
,
Neil Hutson
,
IIS6
,
Internet Information Services
,
Articles
,
English
,
TechNet Edge
,
Articles
|