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:
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
精彩评论