Style Issues with IE8

As with most web developers I am sure we get frustrated when Microsoft releases a new browser. When IE7 was released it was a style disaster until they released some updates that fixed the issue... now we are at it again with the release of IE8 earlier this year.

One of the most frustrating things that I have encountered while developing for IE8 is its inability to recognize certain CSS attributes. DIV's, SPAN's, and just about anything that you position absolute on the screen gets all tweaked. I did some searching and found a fix to IE8 Compatibility Viewit... force IE8 to run in IE7 compatibility mode instead of making the user click the compatibility icon next to the address bar. 

Add this line to the HEAD section in your HTML:

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

4 comments:

TJ said...

Does IE8 meet more/all international standards, and therefore make folks who coded for IE7 need to update things?

... or does IE8 just jack with everything and make no headway in compatibility?

Sean said...

I do not believe Microsoft will ever incorporate all standards into any of their software... they have a tendency to create their own which sometimes catch on, and more often do not.

I typically have coded within a corporate environment where the browser has always been IE starting with version 3. A while back I also dealt with the headache of creating Netscape and IE compatible web apps... JavaScript nightmare!

Based on reading that I have done and personal experience I think IE8 falls closer to standards for JavaScript and further for CSS... but they have yet to release SP1... so I hold back judgement until that point... because we all know Microsoft products only do well after SP1 is released. Unless you're talking about Windows Millenium which they could have released all the service packs they wanted and it would still stink!

Here is a few links to info regarding IE8 that I found interesting:

http://blogs.msdn.com/ie/archive/2008/08/26/ie8-performance.aspx

http://llamaslayers.net/daily-llama/345/ramblings/ie7-vs-ie8

TJ said...

Enjoy the pic...

http://www.flickr.com/photos/robotjohnny/3629069606/sizes/l/

Sean said...

Printing that one and haging it on my office wall.

Post a Comment