Question : HTML: How to find out if a browser can display png with transparent areas correctly

Hello,

on a web site I have a picture in front of text. This picture is partly transparent. New browsers display the site correctly, older don't. It seems IE6 can not display png images with transparent areas.

Can anyone give me a hint or some code to find out if a browser supports full alpha channel transparency for png files?

Thank you

Cristine

Answer : HTML: How to find out if a browser can display png with transparent areas correctly

Here's a list with more detail than you probably want: http://www.libpng.org/pub/png/pngapbr.html  The notes for different browsers mention that support is incomplete at times and depends also on image size?!.

Google search brings up more than you could want: http://www.google.com/search?q=browser+PNG+transparent  including articles about hacks to make PNG transparency work in IE6.
Random Solutions  
 
programming4us programming4us