making png transparent in ie6 with wordpress site [duplicate]
Possible Duplicate:
IE6 PNG transparency 开发者_开发知识库
i'm running a wordpress site and when viewing the site in IE6 i would like it to show my png transparent instead of with a grey background, anyone who can help? found solutions but the make me confused since wordpress has different tags to work with
If you want to use alpha-transparency and do not need more than 256 colors - you can try to save your image as 8-bit-png file with additional alpha-channel.
Here's a good explanation: http://www.ethanandjamie.com/blog/37-user-interface/81-png8-transparency-without-fireworks
The funny thing is that IE6 will ignore the alpah-channel. Other (newer) browsers like Firefox, Opera, IE7+, Chrome, and Safari will try to display the image using the alpha-channel.
I prefer to use this solution because it does not require CSS hacks or Javascript.
精彩评论