开发者

making png transparent in ie6 with wordpress site [duplicate]

开发者 https://www.devze.com 2023-01-16 05:13 出处:网络
This question already has answers here: Closed 10 years ago. Possible Duplicate: IE6 PNG transparency开发者_开发知识库
This question already has answers here: Closed 10 years ago.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消