How to use semi-transparent png images in IE6

2020-02-10 09:47发布

问题:

How can I use semi-transparent png images in IE6?

回答1:

In fact you can using IE6 PNG Fix. There are some limitations, but overall, it works just fine.



回答2:

I have to say I prefer DD_belatedPNG over supersleight. It's way easier to implement and doesn't seem to deadlock IE6 plus hover works out of the box.

http://www.dillerdesign.com/experiment/DD_belatedPNG/



回答3:

Be aware that the AlphaImageLoader transform can deadlock IE6.

Use PNG8s instead of regular PNG32s. You are restricted to 256 colors and 1 bit of alpha transparency, but it beats randomly deadlocking the browser.



回答4:

I had an issue once about png transparency in ie6 and what saved me was this:

http://allinthehead.com/retro/338/supersleight-jquery-plugin

hope it help



回答5:

You can't... IE6 doesn't support transparent PNGs. Your best option is to use transparent GIFs and format them to match the background they go over.

Edit: On that note: http://ie6update.com/