不透明度在IE6的适当性 [英] Opacity Properity in IE6
本文介绍了不透明度在IE6的适当性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经工作了一段时间,我也搜索stackoverflow,但找不到答案。
I have been working on this for a little while, and I have also searched stackoverflow, but couldn't find an answer.
这是我想要的做:
#container {
margin: 0 auto;
width: 950px;
opacity: .5;
filter: alpha(opacity = 50);
background: #fff;
filter: alpha(opacity=50);
-moz-opacity: 0.5;
-khtml-opacity: 0.5;
opacity: 0.5;
}
但它在我使用IETester时不起作用。
其他版本显示正确,IE6不显示。
But it doesn't work for me in using IETester.
The other versions display it correctly, IE6 does not.
那么,错误在哪里?
我错过了什么? p>
So, where is the bug?
What have I missed ?
推荐答案
对于IE 6和7,请尝试以下操作:
For IE 6 and 7, try the following:
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
Source 。
这篇关于不透明度在IE6的适当性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文