Here are a few solutions to the same old IE/PNG issue, all revolving around the same hack: using JavaScript to replace IMG tags containing PNGs with a SPAN or a DIV into wich the PNG is filled using the IE proprietary AlphaImageLoader image filter.

It works… in a very disgraceful manner (try it with 200 PNG icons on the same page!)… and I don’t think it degrades correctly to the ALT text display if images don’t get loaded for some reason. (Not to mention CSS side effects an the rest which is usually documented along with each hack).


Comments from long ago:

Comment from: Keith Lea

You should look at the “IE7” javascripts by Dean Edwards, it fixes a lot of this stuff. It’s at http://dean.edwards.name/ie7/

2005-04-18 20-40