dvirAdv
asked on
whole frame css layer
Hi,
I'm trying to make a shade layer that will fill the whole page (even when scrolled down) with transparent black color.
I found this code (css only) I applied it to a div buy it isn't working.
Thank you.
I'm trying to make a shade layer that will fill the whole page (even when scrolled down) with transparent black color.
I found this code (css only) I applied it to a div buy it isn't working.
Thank you.
#darkenBackground {
background-color: rgb(0, 0, 0);
opacity: 70%; /* Safari, Opera */
-moz-opacity:0.70: /* FireFox */
filter: alpha(opacity=70); /* IE */
z-index: 400;
height: 100%;
width: 100%;
background-repeat:repeat;
position:absolute;
top: 0px;
left: 0px;
}
put html code
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Did this solution work for you or are you still having issues with the shaded div not working properly?
IT SHOULD WORK....