Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

png transparency support?

Sep 26, 2007 4:06AM PDT

I've been trying to find a good js script that fixes IE6's inability to display png's with trasparent backgrounds.
I'm currently using one that works fine but only with images that are in the html code (<img src....) but not the ones that are used as a background image with css.

I need a script that fixes the png's used on background images or if it fixes both even better.

thanks.

Discussion is locked

- Collapse -
(NT) Seems there is plenty written about this.
Sep 26, 2007 4:14AM PDT
- Collapse -
well
Sep 26, 2007 4:49AM PDT

I know how to make a google search, and believe me I've done research before posting this. I've tried a few and they dont work, so what I'm looking for is for a technique that somebody uses and know it works well.

thanks.

- Collapse -
Quote.
Sep 26, 2007 4:56AM PDT

"The object works in any CSS 1-capable browser that can dynamically apply a background image to a DIV with JavaScript. It?s completely flexible, and we could even use it in place of the above function."

From a link on the second search. Maybe you wanted me to work harder at this but given there is much written about this with what appears to work solutions (even if convoluted) it's par for the course when trying to get all those browsers to play nice.

Bob

- Collapse -
thanks
Sep 26, 2007 5:23AM PDT

I didn't mean to say you should try harder or whatever, I just wanted to know about a technique somebody uses and actually knows about it. For example I know one that works perfectly but it does not support css.
thank you.