IE 8 – Emulate IE 7

This is a good one – as I’m sure many, including my own applications, aren’t quite ready for IE 8.   The nice part of this is it’s possible to tell IE 8 to emulate with IE 7. 

A good post on this can be found here:

http://blogs.msdn.com/ie/archive/2008/06/10/introducing-ie-emulateie7.aspx

There are two ways to implement this tag:

On a per-site basis, add a custom HTTP header : X-UA-Compatible: IE=EmulateIE7

On a per-page basis, add a special HTML tag to each document, right after the <head> tag :

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

 

I was able to use the per-page on some pages, which forces the IE Emulate.  Then later, I can go back and find out what craziness is going on and remove the tag.

This is much better than trying to add yet another browser check in javascript as far as I’m concerned!

Advertisements

One thought on “IE 8 – Emulate IE 7

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s