Dealing with CSS problems in IE
Working on my wife’s website (2011: no longer online as we closed the business) I came across the dreaded problem of making my site work with as many browsers as possible. Unfortunately, this meant dealing with Internet Explorer 6.
Some simple CSS that worked on all browsers (even IE 7) would present some problems in IE 6. Much has been written on the Internet about IE issues and I don’t want to add yet another entry to the long list of existing rants.
Asking users to upgrade the browser is a little bit too dramatic for a spa site. Doing CSS hacks would be a major waste of effort and oh so inelegant. Googling around, I found this wonderful library:
http://code.google.com/p/ie7-js/
From Dean Edwards, the developer of the library:
“IE7 is a JavaScript library to make Microsoft Internet Explorer behave like a standards-compliant browser. It fixes many HTML and CSS issues and makes transparent PNG work correctly under IE5 and IE6.”
In less than a minute, all of my CSS headaches were gone and the site displayed correctly in IE6.
Thanks a lot, Dean for this wonderful piece of software!