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)";
}
精彩评论