Things are now in the right places, but I can't get the rightCol and leftCol to be 100%. They are 100% plus the space for the header and topNav in IE6.
I tried repeating an image down the y axis and that didn't do anything.
Thanks for the tip to set the position of the bottomNav to fixed.
I attached an image of what I am trying to do.
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Untitled Page</title>
<style type="text/css">
/* commented backslash hack \*/
html, body{height:100%;}
/* end hack */
html,body {margin:0;padding:0}
#container
{
min-height: 100%;
background-color: Olive;
width: 1004px;
}
* html #container{height:100%;}/* ie6 and under*/
#leftCol
{
border: solid 1px silver;
float: left;
height: 100%;
margin-right: 5px;
width: 200px;
}
#rightCol
{
border: solid 1px silver;
float: left;
height: 100%;
width: 795px;
}
#bottomNav
{
border-top: solid 1px silver;
bottom: 0px;
height: 30px;
/* IE 6 hack*/
position: absolute;
width: 795px;
}
/*For IE 7 and Firefox*/
body>div#bottomNav {position: fixed}
</style>
</head>
<body>
<div id="container">
<form id="form1" runat="server">
<asp:ScriptManager ID="SC" runat="server" />
<div style="float: left; height: 100px; width: 100%; background-color: Lime;">
Top Nav
</div>
<div style="float: left; width: 100%; background-color: Fuchsia;">
Title Bar
</div>
<div id="leftCol">
Left Col
</div>
<div id="rightCol">
Right Col
<br style="clear: both;" />
<div id="bottomNav">
Bottom Nav
</div>
</div>
</form>
</div>
</body>
</html>
Bookmarks