Icon: News & Updates News & Updates
Fast just got faster! We are very proud to announce the release of Spirit 5.3.
Welcome to our new range of small business web site packages.
Icon: Clients & Partners Clients & Partners

News & Articles

Definitive IE PNG Fix

Finally! The ultimate Internet Explorer fix for displaying Alpha Transparent PNG images

After many months of searching we have finally found the ultimate solution to the perennial problem of Internet Explorer 6 not supporting Alpha Transparent PNG images. Initially posted at http://bjorkoy.com/ the method involves using a .htc hack to script IE6's behaviour, and adding the following line to your css:

img {
    behavior: url(iepngfix.htc);
}

What makes this method so much better is that this PNG fix also works on css background images (as well as the standard <img> tags). To download the full code please go to www.twinhelix.com/css/iepngfix/. Hats off to Mr Turnbull for his sterling work!

PNG fixes and Google Maps

Further to my initial post here about the definitive IE PNG fix we have discovered a potential pitfall.

Internet Explorer fails to render the Google Map when you use the PNG Fix in the "wrong" way.

To see my full explaination please read:

IE PNG Fix and Google Maps

 


Posted by D Smith, 27th Mar '08