i am rewriting my layout in divs instead of tables.
the problem i have, is i need the divs with the "L" and "R" in them to extend all the way down to the bottom of the "content" div.
also, what do i need to do to center the entire thing on the webpage?
and it appears as though the top center div extends down into the middle div by like... maybe 5 px... is this just an illusion or is it really happening?
this is the source html for the page:
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" xml:lang="en" lang="en">
<head>
<title>Div Practice</title>
<style type="text/css">
.wrapper{margin: 0px; padding: 0px; clear: left;}
.topLeftCorner{margin: 0px; padding: 0px; float: left; height: 100px; clear: left; background-color: #000000;}
.topCenterBanner{margin: 0px; padding: 0px; float: left; height: 100px; background-color:#0000FF;}
.topRightCorner{margin: 0px; padding: 0px; float: left; height: 100px; clear: right; background-color: #000000;}
.sideLeft{margin: 0px; padding: 0px; float: left; height: 100%; clear: left; background-color: #666666;}
.mainCenterContent{margin: 0px; padding: 8px; float: left; height: 100%; background-color: #000099;}
.sideRight{margin: 0px; padding: 0px; float: left; height: 100%; clear: right; background-color: #666666;}
.bottomLeftCorner{margin: 0px; padding: 0px; float: left; height: 50px; clear: left; background-color: #CCCCCC;}
.bottomCenter{margin: 0px; padding: 0px; float: left; height: 50px; background-color: #000033;}
.bottomRightCorner{margin: 0px; padding: 0px; float: left; height: 50px; clear: right; background-color: #CCCCCC;}
</style>
</head>
<body>
<div style="width: 800px;" class="wrapper">
<div style="width: 800px;" class="wrapper">
<div style="width: 50px;" class="topLeftCorner"></div>
<div style="width: 700px;" class="topCenterBanner"></div>
<div style="width: 50px;" class="topRightCorner"></div>
</div>
<div style="width: 800px;" class="wrapper">
<div style="width: 50px" class="sideLeft">L</div>
<div style="width: 684px;" class="mainCenterContent">Content<br/><br/><br/></div>
<div style="width: 50px;" class="sideRight">R</div>
</div>
<div style="width: 800px;" class="wrapper">
<div style="width: 50px;" class="bottomLeftCorner"></div>
<div style="width: 700px;" class="bottomCenter"></div>
<div style="width: 50px;" class="bottomRightCorner"></div>
</div>
</div>
</body>
</html>
"-//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" xml:lang="en" lang="en">
<head>
<title>Div Practice</title>
<style type="text/css">
.wrapper{margin: 0px; padding: 0px; clear: left;}
.topLeftCorner{margin: 0px; padding: 0px; float: left; height: 100px; clear: left; background-color: #000000;}
.topCenterBanner{margin: 0px; padding: 0px; float: left; height: 100px; background-color:#0000FF;}
.topRightCorner{margin: 0px; padding: 0px; float: left; height: 100px; clear: right; background-color: #000000;}
.sideLeft{margin: 0px; padding: 0px; float: left; height: 100%; clear: left; background-color: #666666;}
.mainCenterContent{margin: 0px; padding: 8px; float: left; height: 100%; background-color: #000099;}
.sideRight{margin: 0px; padding: 0px; float: left; height: 100%; clear: right; background-color: #666666;}
.bottomLeftCorner{margin: 0px; padding: 0px; float: left; height: 50px; clear: left; background-color: #CCCCCC;}
.bottomCenter{margin: 0px; padding: 0px; float: left; height: 50px; background-color: #000033;}
.bottomRightCorner{margin: 0px; padding: 0px; float: left; height: 50px; clear: right; background-color: #CCCCCC;}
</style>
</head>
<body>
<div style="width: 800px;" class="wrapper">
<div style="width: 800px;" class="wrapper">
<div style="width: 50px;" class="topLeftCorner"></div>
<div style="width: 700px;" class="topCenterBanner"></div>
<div style="width: 50px;" class="topRightCorner"></div>
</div>
<div style="width: 800px;" class="wrapper">
<div style="width: 50px" class="sideLeft">L</div>
<div style="width: 684px;" class="mainCenterContent">Content<br/><br/><br/></div>
<div style="width: 50px;" class="sideRight">R</div>
</div>
<div style="width: 800px;" class="wrapper">
<div style="width: 50px;" class="bottomLeftCorner"></div>
<div style="width: 700px;" class="bottomCenter"></div>
<div style="width: 50px;" class="bottomRightCorner"></div>
</div>
</div>
</body>
</html>

