[EMAIL PROTECTED] wrote: >Hey all, > >I've tried on various occasions to use the AlphaImageLoader filter to >get IE to properly display PNGs with alpha transparency... though I'm >never really successful. What I want to do is display those PNGs as >regular images, not as background-image. Is it possible? Or does the >AlphaImageLoader do it's thing by rendering an image as a background- >image? If I apply the AlphaImageLoader filter directly to an <img> >tag, will it enable IE to properly display the PNG, or will it simply >invalidate the xHTML and break the image for all other browsers (or >both)? > >I guess I'm just looking for a simple technique that I can use on a >series of banner images... images that I don't really want as >background-image. > >Thanks for any leads > >Rolf > > Hi Rolf, As far as I know:
1. Is it really needed to use a png with transparency? When it are only header-banners, I assume they have a known position, and don't need to be transparent. Then you can take a screenshot for each banner, and use that as a non-transparent image (png or jpg). 2. Unless ... the bg has a fixed position and a bg-image with different colors in it, and the banner has to scroll transparently over the changing colors of the bg-img. Then for IE you'll need the AlphaImageLoader (or the IE-png htc-solution [1]); and you can hide that for validators and other browsers with a 'conditional comment'. 3. Perhaps there are other ways out, depending on the used images and background(s). Do you have an example-page? Greetings, francky [1] Some things to read: Wiki-page <http://css-discuss.incutio.com/?page=AlphaBetaPngSupport>, ie-png-hack <http://home.tiscali.nl/developerscorner/designhulp/ie_png_hack.htm> (with more links). ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
