Kenoli, You will have to use a 24-bit PNG graphic which will work perfectly in IE7+ and Firefox. To get IE6 and lower to correctly render the transparent PNG graphics you are going to have to use some javascript. I don't think there is anyway around that.
Because I am already using jQuery for other things, I use: http://jquery.andreaseberhard.de/pngFix/ There is another one that works well and does not use jQuery: http://www.twinhelix.com/css/iepngfix/ Cheers, Tim On Wed, Feb 4, 2009 at 5:15 PM, Kenoli Oleari <[email protected]> wrote: > What file format can I use to get IE5 and IE6 to display transparency > and a gradient? I have an image with a gradient that goes from > transparent to black. As a png image it works fine everywhere except > these versions of IE. A gif image screws up the gradient and IE turns > the transparency in png, jpg and tif images to white or off white. > How do I get these browsers to display both a gradient and transparency? > > Thanks, > > --Kenolli > ______________________________________________________________________ > css-discuss [[email protected]] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
