achtungbaby.net

Icon

Postcards from the Front-End

Using ifixpng for IE6’s lack of PNG support

Just discovered this handy plugin the other day: jQuery ifixpng

I typically use conditional comments  and place all of my AlphaImageLoader nonsense in there so that only IE6 will be served the crazy.  After all, IE7 can understand the filters, and based on my own testing, it doesn’t seem to like the AlphaImageLoader much (go to a page with the filter applied using IE7 and then hit cntrl +).

IE 5.5 and IE6: AlphaImageLoader Filter

Unless you’ve been residing under a fairly large rock for the past seven years, you should be well-aware that Internet Explorer 5.5 and 6 do not provide native support for PNG rendering.  To get IE to play nice, you need to apply Microsoft’s proprietary AlphaImageLoader Filter to the element rendering the PNG while at the same time ensuring IE doesn’t see any “background-image” properties that you’d want other standards-compliant browsers to see.

Read the rest of this entry »

@achtungbaby