开发者

Internet Explorer 6 and Opacity

This isn't a pressing issue, but everything that I've read indicates that these CSS opacity rules should work in Internet Explorer 6:

.videos img {
    zoom: 1;
    margin: 0 auto;
}
.videos a.video img {
    opacity: 0.5;
    filter: alpha(opacity=50);
}开发者_如何学C
.videos a.video:hover img {
    opacity: 1.0;
    filter: alpha(opacity=100);
}

I have created this jsFiddle to share the code. I am testing using IETester on Windows 7, and the technique works in IE 7-9, but not IE 6.


OK, it seems we've found the solution. IETester is not fully reliable; in this particular case, filters didn't work because OP didn't run IETester as administrator.

It's always better to use "native" versions of IE, for example IE running in virtual machine.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜