Last year all of the hype was about IE8 and Microsoft’s decision to default the browsers version targeting to “quirks mode” rather than standards mode. This essentially meant that developers would have to opt-in to IE8′s standards mode using a proprietary
<meta> tag that tells the browser which mode you want it to render your website in.
Needless to say, this was a very frustrating proposal for developers worldwide. At the same time, Microsoft’s obligation to not “break” the web was very understandable. It was a catch 22 for the company, but the issue had to be tended to promptly. After much discussion and some encouragement from the community, Microsoft officially reversed their decision to handle version targeting this way.
Now that IE8 has been officially released, one problem still remains for many legacy sites. What if IE8 “breaks” your website? The short-term solution is actually very simple:
Windows Internet Explorer 8 introduces document compatibility modes that allow Web developers to tell the browser to render their pages in the same way as older versions would, thereby allowing the developer to choose when to update.
In short, add this tag inside the
<head> of each of your webpages and call it a day:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Wait! Don’t actually call it a day and forget about it! Although I’m sure a lot of folks will do just that, the fact is that you really should treat this as the temporary fix that it is and make an honest effort to get those legacy websites and applications up to date. The reality is, however, that many developers will be confronted with compatibility issues as IE8 gets pushed out to millions of users via Windows Automatic Update. Of course, many won’t have the time or resources it takes to redevelop or modify all those old sites so, in a pinch, you can at least get by.