兼容FF,IE的CSS透明背景色滤镜

    在应用ajax的loading 状态时用到透明层,用css滤镜实现,以下兼容FF与IE(IE8测试还不能通过)
  .covering
   {
     width:55%;
    height:85%; 
    position:absolute;
    z-index:100;
    top:0px;
    left:0px;
    background-color:yellow;
    padding-left:45%;
    padding-top:10%;     
    filter:alpha(opacity=60);
    -moz-opacity:.60;
    opacity:0.6
   }
    以下是使用atlas中的updateProgress控件
   
<asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel2">
        
<ProgressTemplate>
            
<div class="covering" >
            
<img src="../images/loading-circle.gif" alt="加载中" />
            
</div>
        
</ProgressTemplate>
    
</asp:UpdateProgress>
posted @ 2008-03-27 15:59  koolay  阅读(8051)  评论(0)    收藏  举报