Hi David, I have a workaround that works for IE6.
I originally got it elsewhere a couple years ago, but I can't find the original link. I've modified the behavior file (.htc) a few times, so it's not exactly the same as the original, but it does work. Download the zip file at the following link, it contains the .htc file and a transparent .gif which overlays on the image to fix the png transparency. http://download.xmlx.net/pngfix.zip Then you have to include height and width dimensions with your IMG tag, something like so: < img src="/construction.png" width=128 height=128 style="width:128; height:128;"> Then include some CSS like so: img { behavior:url(/PngFix.htc); } An example of this is at (see the view-source): http://download.xmlx.net/ Interestingly, this is a great example of the usefullness of behaviors, by giving MSIE some special functionality (in this case a fix) - that is ignored by other browsers. Hope this helps. ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Scott Cadillac, Xmlx Software [EMAIL PROTECTED] (403) 254-5002 http://www.xmlx.net/ XML-Extranet P.O. Box 69006 RPO Bridlewood SW Calgary, Alberta Canada T2Y 4T9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > -----Original Message----- > From: Robert Garcia [mailto:[EMAIL PROTECTED] > Sent: Friday, November 03, 2006 8:20 AM > To: [email protected] > Subject: Re: Witango-Talk: PNG images and IE6 > > IE does not support png transparency, I think it may now in > IE 7, but > it sucks in IE 6 and previous. > > I saw that someone tried to fix with JS, but haven't tried it, here > is a link. Have fun. > > http://homepage.ntlworld.com/bobosola/index.htm > > -- > > Robert Garcia > President - BigHead Technology > VP Application Development - eventpix.com > 13653 West Park Dr > Magalia, Ca 95954 > ph: 530.645.4040 x222 fax: 530.645.4040 > [EMAIL PROTECTED] - [EMAIL PROTECTED] > http://bighead.net/ - http://eventpix.com/ > > On Nov 3, 2006, at 12:15 AM, David Mark Weiss wrote: > > > on a site I am developing I am wanting to use PNG Graphics as > > backgroud-image in CSS. The transparency of these images > work great > > allowing me to change background colors on the fly if > necessary and > > they look great. However they don't work using IE6. Perhaps there > > is a way to use Jpg's and get transparency out of them, that I > > don't know about. > > > > I have tried a couple of things I found on the web, but > still no joy. > > > > http://www.utexas.edu/learn/graphics/pngbehavior.html is > one of them. > > > > Since I am sure many of you have probably run into this before, I > > am wondering how you got around it and made them work or if > that is > > just a dead horse. > > > > Thanks for your thoughts, > > > > Mark > > > > > > > > > ______________________________________________________________ > ________ > > __ > > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > > ______________________________________________________________ > __________ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
