as dorward suggested, a move to a tableless layout would be advisable.
in the case of the code I am posting, you first have to set the container elements (html and body) to 100% height, and then your div can stretch to 100% height inside them.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html
<html>
<head>
<title>Untitled</title>
<style type="text/css">
<!--
html,body { height: 100%; }
#menu {
width: 30px;
height: 100%;
border: 1px solid #000000;
float: left;
}
#header {
height: 50px;
border: 1px solid #000000;
}
#content {
height: 500px;
border: 1px solid #000000;
}
-->
</style>
</head>
<body>
<div id="menu">MENU</div>
<div id="header">HEADER</div>
<div id="content">CONTENT</div>
</body>
</html>
Main Topics
Browse All Topics





by: dorwardPosted on 2005-07-29 at 05:20:48ID: 14553886
http://www.alistapart.com/ articles/f auxcolumns /
aq.pl?Tabl eless_layo uts too.
... although I don't see where a table comes into it. Perhaps you should read http://www.allmyfaqs.com/f