Make Website Compatible in Internet Explorer 7 and 8

Making a website compatible with the main browsers is any UI developer’s nightmare. Specially with the weird behaviors if IE. Now to add to that pain IE 6, 7 and 8 all act differently. So, if you are an UI developer, here’s a little trick to make your life a bit happier. If have succeeded in making the website work in IE7, you can make it work in IE 8 too.

There’s a trick by which you can ask IE 8 to use the IE 7 render engine. And hence IE 8 will behave just like IE 7 🙂

In the head section of the HTML, just after “head” and before any other tag add

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

This will ask IE 8 to emulate IE 7. NJoy 🙂

Leave a comment

Your email address will not be published. Required fields are marked *