Saturday, December 19, 2009

Make your current web page look disabled.

If you need to make your current web page look disabled, in order to display a form or message box, simply add the following div onto your page,
and make sure you give it the following css properties as well.

div:

div id="somediv" class="opaqueDiv"


css:

.opaqueDiv{
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
filter: alpha(opacity=30);
position:fixed;
top:0px;left:0px;
background:white;
width:100%;
height:100%;


}

No comments:

Post a Comment