Tuesday, October 7, 2008

Web site does not load well in IE 8

Using Internet Explorer 8, some web pages may appear broken or not load correctly...

We all remember how IE 7 broke 70% of the pages in Internet...
The bad news are IE 8 is going to do the same.

The good news are: It does not have to!

Microsoft has introduced a new meta tag you can add per page / site that will ensure IE8 clients will render the page in backward compatibility mode, so your site won't be broken...

Simply by adding a meta-tag to the response header:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

IE 8 clients will emulate IE 7 compatibility mode and your site should be able to load correctly.

More info for Per page:
http://msdn.microsoft.com/en-ca/library/cc817574.aspx

More info for Per site:
http://msdn.microsoft.com/en-ca/library/cc817572.aspx


Enjoy,
Shai Petel

No comments: