Josh asked:

Alternatively, how does one go about getting alpha support for CSS
background images? Not having a great deal of luck with this...

I could not get alpha support for CSS background images to work in IE. I tried pngbehaviour.htc ( http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html ) and various versions of Dean Edwards' IE7.

Instead I use an alternative method.
I use condional comments to feed IE6 and below an extra css which has
#DivWithBackground {
    background-image: none;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enable=true, sizingMethod=scale, src='');
}

Advatange you do not need _javascript_ or your server set up to serve .htc files as the correct mime type.

You can find the method discussed in detail:
http://subtlegradient.com/articles/2005/11/30/get-ie-5-5-to-support-transparent-pngs-using-microsoft-chow
http://www.daltonlp.com/daltonlp.cgi?item_type=1&item_id=217 Read the comments sections

For alternative methods
http://www.alistapart.com/articles/pngopacity/  also read the comments

For more on MS Alpha image filter
http://msdn.microsoft.com/workshop/author/filter/reference/filters/alphaimageloader.asp

--
Nick Cowie
http://nickcowie.com

Reply via email to