Thursday, January 13, 2005

How to have a page start from the top of the browser window, and occupy entire height of the browser

Using XTHML and CSS:

html, body {
height: 100%;
margin: 0;
padding: 0;
}
table {
height: 100%;
width: 100%;
background-color: #CCC;
}

No comments: