开发者

JQuery + opacity + ie8 + png24

What do you think about IE? Yes, it's a very cool browser. There is PNG24 with a transparent area. I have applied the jquery opacity to it like:

$(".selector").css("opacity", 0.4);

and got the following proble开发者_如何学JAVAm:

JQuery + opacity + ie8 + png24

How can I fix it?


You Can use this Same PNG Method Here for IE Check This Link For the Solution

Use -ms-filter for IE8

-ms-filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/banner01.png,
 sizingMethod=crop)";


try to use this

.selector
{
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; /* IE8 */
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);  /* IE7 */

}


all you need is this : DD_belatedPNG

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜