ie7 png不透明度。可能吗 [英] ie7 png opacity. is it possible
问题描述
1)不要使用ie8选项work as ie7。它在这种情况下
2)使用clean ie7或ietester最后版本
1) dont use ie8 with option "work as ie7". it lies in this case 2) use clean ie7 or ietester last version
例如test.png可以是50%tranparency jpeg图片。
我知道在ie7中使用它的2种方法:
For example test.png can be 50% tranparency jpeg picture. I know 2 methods to use it in ie7:
background-image: "test.png"; filter: alpha(opacity=70)
您会看到灰色 / p>
you will see gray image
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="test.png")
alpha(opacity=70);
background: none;
您将看到白色图像
2变体来自ie6!
示例: http://pastehtml.com/view/awfp66p2m.html
1原创。
2灰色背景。
3 white progid
example: http://pastehtml.com/view/awfp66p2m.html 1 original. 2 grey background. 3 white progid
ie7 屏幕截图: http://clip2net.com/clip/m46295/1307529587-cliptj2620-2kb.png
ie6 屏幕截图: http://clip2net.com/ clip / m46295 / 1307529630-cliptt2620-2kb.png
3图片在ie6和ie8中完美呈现。这意味着在ie6和ie8我可以使用jquery动画不透明!
3 image works perfectly in ie6 and ie8. it means in ie6 and ie8 i can animate opacity using jquery!
推荐答案
我不是100% 这是在IE的所有版本中的已知错误(至少最多8个,不确定约9个):如果元素包含它们的不透明度
值不同于100%。
I'm not 100% sure what you mean, but I think this is a known bug in all versions of IE (at least up to 8, not sure about 9): Images with alpha transparency will not show correctly if the element containing them has an opacity
value different from 100%.
有关详细信息,请参阅此答案:如何制作Google地图透明的PNG图块层工作在IE8?
See this answer for more details: How to make a Google Maps semi-transparent PNG tile layer work in IE8?
这篇关于ie7 png不透明度。可能吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!