martynball
06-18-2012, 08:34 PM
For some reason the following CSS isn't making my div fill the screen. This div is inside the body and not inside another div.
.overlay_container {
position:absolute;
height:100%;
width:100%;
}
Add you can see from the screenshot below, if the other content extends past the browsers edge and cause a scroll bar to appear the div above does not expand at all, if that makes sense.
https://dl.dropbox.com/u/63494571/why_css.jpg
.overlay_container {
position:absolute;
height:100%;
width:100%;
}
Add you can see from the screenshot below, if the other content extends past the browsers edge and cause a scroll bar to appear the div above does not expand at all, if that makes sense.
https://dl.dropbox.com/u/63494571/why_css.jpg