Created
June 24, 2011 01:11
-
-
Save emj365/1044024 to your computer and use it in GitHub Desktop.
css overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#over_div { | |
position:fixed; | |
top:0; | |
left:0; | |
z-index:1987; | |
width:100%; | |
height:100%; | |
background:#000; | |
filter:alpha(opacity=70); | |
opacity:0.7; | |
} | |
/*IE6 fixed*/ | |
* html { | |
background:url(*) fixed; | |
} | |
* html body { | |
margin:0; | |
height:100%; | |
} | |
* html #over_div { | |
position: absolute; | |
left: expression(documentElement.scrollLeft + documentElement.clientWidth - this.offsetWidth); | |
top: expression(documentElement.scrollTop + documentElement.clientHeight - this.offsetHeight); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment