`
yangyou230
  • 浏览: 1651029 次
文章分类
社区版块
存档分类

IE6 PNG32 问题解决办法

 
阅读更多

IE6 PNG32 with semitranparncy inside

PN32 image in IE6 does not look good, you will find a cyne color in the transparent area.

To solve this problem you can choose the following with orders (try to use the upper one if you still accept the quality):

1. using GIF

GIFs only allow one colour for background transparency, so a GIF placed over the intersection of another colour looks ghastly

see http://homepage.ntlworld.com/bobosola/pngtest.htm

2. using PNG8

the semitransparent will become either 0% or 100% opacity

the result is anti-aliasing is gone

3. using CSS

{

background-image: none;

filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='dashboard/skins/kpnvandaag/module/module_header_486x32.png',sizingMethod='scale');

}

!!!!! NOTE !!!!!

NO space between progid and DXImageTransform

'progid: DXImageTransform' is NOT allowed!!!!

the drawback is performance

4. using Javascript

http://homepage.ntlworld.com/bobosola/

the drawback is performance

HTC

5. ignore it

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics