PNG transparency fix that works!
2 Comments 9th JAN 2009 | Posted by Željko Prša in Tools

If you are trying to fix that nasty PNG issue in IE6 search no more. Go to Drew Diller’s dillerdesign and behold. A PNG fix for IE6 that actually works on a repeating background image, go figure
Our new team member Ivan Weiler tried it out yesterday on a “soon to be launched” project and was amazed with the way it works. Here is the excerpt from his site:
This is a Javascript library that sandwiches PNG image support into IE6 without much fuss. You can use PNGs as the SRC of an <img /;> element or as a background-image property in CSS. If you attempt the latter, you will find that, unlike with vanilla usage of AlphaImageLoader, background-position and background-repeat work as intended. As a bonus, “fixed” elements will respond to a commonly used set of Javascript style assignments, as well as the A:hover pseudo-class.
To post code in comments, place your code inside [code] and [/code] tags.

















April 6th, 2009 at 1:08
Yes but don’t put any onmouseout or onclick.. as it replaces it with a hidden image.
April 29th, 2009 at 4:26
This is great, thank you so much dude