How to make your site compatible within Microsoft browsers IE5, IE6, IE7, IE8 and IE9


IE7.js 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.

Usage

1.)  Upgrade from MSIE 5.5 - 6 to compatible with MSIE7.
        Include IE7.js in your web page.

2.)  Upgrade from MSIE 5.5 - 7 to compatible with MSIE8.
        Include IE8.js in your web page.

3.)  Upgrade from MSIE 5.5 - 8 to compatible with MSIE9.
        Include IE9.js in your web page.


PNG

Now fixing of transparent png images on IE6 is too easy...

The script only fixes images named: *-trans.png

If you want the fix to apply to all PNG images then set a global variable as follows:

var IE7_PNG_SUFFIX = ".png";

You must set this variable before including the IE7.js script.