Thursday, February 11, 2010

Force Internet Explore Emulation

Developing a completely flexible web application today can be tired-some,
And Microsoft sure doesnt make it any easier - a working site on IE8 could look bad on IE7, and might not work at all on IE6.

To make it a little bit easier, Microsoft enabled us to use "IE 7 Emulated Mode" on IE8, and luckily they made it possible for us to force IE8 to use Emulation.

Simply add:

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

to your header, and IE8 will automatically move to IE7 Emulation mode.

I know I know, it's an ugly workaround, but when you're deadline is yesterday, it might be just what you need...

No comments: