在 Internet Explorer 9 中使用 -ms-filter
using -ms-filter with iinternet explorer 9
我正在使用 visual studio 2008 构建网络 application.css 版本是 2.1,我的 Internet Explorer 版本是 ie9.with css 2.1 版本不透明度 属性 不存在,所以我使用 -ms-filter 使我的代码在 ie9.here 中工作是我的代码
.wait
{
position: absolute;
height: 100%;
width: 100%;
display: none;
z-index: 0;
background-color: #E1FFFF;
text-align: center;
cursor:wait;
opacity:0.5;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}
但这不是working.pls帮助我。
试试这个。
如果您希望不透明度在所有 IE 版本中工作,顺序应该是:
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; // first!
filter: alpha(opacity=50); // second!
我正在使用 visual studio 2008 构建网络 application.css 版本是 2.1,我的 Internet Explorer 版本是 ie9.with css 2.1 版本不透明度 属性 不存在,所以我使用 -ms-filter 使我的代码在 ie9.here 中工作是我的代码
.wait
{
position: absolute;
height: 100%;
width: 100%;
display: none;
z-index: 0;
background-color: #E1FFFF;
text-align: center;
cursor:wait;
opacity:0.5;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}
但这不是working.pls帮助我。
试试这个。
如果您希望不透明度在所有 IE 版本中工作,顺序应该是:
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; // first!
filter: alpha(opacity=50); // second!