Hello guys, Can u suggest me a really working solution to fix png transparency in IE6. Thanks in advance.
You'll need a small program called TweakPNG and here's a good tutorial on how to use it: http://www.biorust.com/tutorials/detail/231/en/ I've used TweakPNG myself and it worked just fine.
thanks for the tip. i was trying for a long time to solve this problem. I had also removed some png files from my website because of the transparency problem. Thanks again
In casde the scripting is either causing problems (in rare instances, links with pngs aren't clickable with stuff like PNGFix attatched; at least I've read about it here on the forums), I often send IE6 a gif and give the png to the smarter browsers. Depending on what you're using the transparency for, this might be a perfectly acceptable alternative. #someelement { background: url(foo.png) 0 0 no-repeat; } * html #someelement { background-image: url(foo.gif); } The latter only goes to IE6 and lower. IE7 ignores that as well as all other browsers. One reason to use this might be because you want to repeat (tile) the image. Apparently IE6 doesn't like tiled png's no matter what script you're using. Another idea is to use a trick I saw at CSSzengarden: make a "fake" semi-transparency with a gif, and checkerboard the background (color pixels and then transparent ones). It looks a little strange, but at first glance it seems to do the job. I've used it on two sites now. http://www.csszengarden.com/?cssfile=069/069.css example, look at the righthand sidebar... the black part.