sizing question

admin

Administrator
Staff member
What would you do if you wanted a <div> to fill the screen but there isn't enough content to stretch it all the way from the top to bottom?

height: 100% seems inconsistent, how come?http://www.webdeveloper.com/forum/showthread.php?t=94033It was height: 100% after all, even though it sometimes seems to stretch the element taller or shorter than the window, o well.

Thanks.Use this:html, body {
margin:0;
border:0;
padding:0;
}
 
Back
Top