View Full Version : Transparent Images across all browsers

08-19-2012, 01:52 PM

I was just wondering something. I am working with a transparent PNG file and it's positioned over part of my webpage and it looks good, but in IE6 where it can't handle the transparency it will obscure important info, so was wondering can you have some code in that says something like:

If IE6 load "x" transparent gif instead?

You might say why not just use a transparent gif in the first place? Well with the PNG I can have a drop shadow so it takes it to another level

Thanks in advance

08-19-2012, 02:00 PM
Here's a great article that explains and shows how to handle PNG transparency in older browsers: http://www.alistapart.com/stories/pngopacity/

08-19-2012, 03:43 PM
Great article - Thanks

08-19-2012, 04:11 PM
You could also just place a div with a higher z-index over it.