我在显示弹出窗口时遇到问题。弹出窗口完美地出现在所有浏览器中,除了 Internet Explorer。弹出窗口在 Internet Explorer 中是透明的。我不知道为什么?这是我的 CSS:
.new_popup{
position: fixed;
left: 149.5px;
top: 146px;
z-index: 100;
width: 496px;
display: none;
background:none;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
filter:alpha(opacity=100);
}
谁能帮帮我? 谢谢 小吃
最佳答案
根据 IE 版本,opacity 没有相同的语法:
-ms-filter: "alpha(opacity=10)"; /* IE 8 */
filter : alpha(opacity=10); /* IE < 8 */
opacity: 0.1; /* IE 9 */
你期望通过设置得到什么:
background:none;
关于css - 弹出窗口在 Internet Explorer 中是透明的,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9210436/