Quick fix for sites breaking in IE8

Internet Explorer 8 has support for a emulators that will run a previous version of IE, if the site specifies so.

Usually older sites will break on IE8, but there is a very simple solution that involves very little coding, even knowing that is not the best solution.

Add on your site homepage the following:

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

This will force the IE8 to emulate it’s atencessor, IE7 making the website works fully again.

This solution is the solution presented and used by WordPress.org developers at the moment.

Have fun.

Advertisements

About mcloide

Making things simpler, just check: http://www.mcloide.com View all posts by mcloide

4 responses to “Quick fix for sites breaking in IE8

  • Julian Castaneda

    Nice to know.. Didn’t know you could force it. This can save a lot of development time if you already spent hours hacking your code so it works with IE6-7.

    • mcloide

      Yeah … I had an issue with a template on the WordPress.org and after some research, they have suggested to use this. Looks like IE8 only renders full compliance W3C standards… In one thing I like it because it forces a developer to better develop, but in another perspective is annoying because if you have an old application and don’t want it broken until you can fully change your site, you must use this small fix.

  • Tnelson

    Super-Duper site! I am loving it!! Will come back again – taking your feeds too now, Thanks.

  • Bill Bartmann

    what a great site and informative posts, I will add a backlink and bookmark your site. Keep up the good work!

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

%d bloggers like this: