开发者

IE8 opacity activex problem

I开发者_运维百科n my css file I have this:

#imageDes {    
opacity:.70;
filter: alpha(opacity=70);  
}

if I use this on html page and open it in IE8, I get an activex warning!

What can I do?


This is a standard warning when running these sites in the local security zone. If you run the page locally, you'll get the warning. If you run it from a server, in the internet zone, you won't get the warning (unless you've modified your security settings).

If you need to run the page in the local zone without the warning, you can modify IE's security settings.

See How to use security zones in Internet Explorer.


.class {    // for IE5-7
    filter: alpha(opacity=50);
}

.class {    // for IE8
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜