You can see if it's useful.
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>
<title>Test</title>
<style type="text/css">
body {
background-color:white;
overflow: hidden;
}
.page {
margin-left: auto;
margin-right: auto;
text-align: center;
vertical-align: top;
width: 1024px;
height: 1000px;
background-color:blue;
float:left;
}
.header {
/* position: absolute;*/
margin-left: 0px;
margin-top: 0px;
width: 1024px;
height: 80px;
background-color:yellow;
clear:right;
}
.leftnav {
/* position: absolute;*/
margin-left: 0px;
/* margin-top: 80px;*/
width: 200px;
height: 538px;
background-color:red;
float:left;
}
.clientarea {
/* position: absolute;
margin-left: 200px;
margin-top: 80px;*/
width: 794px;
height: 508px;
padding: 15px;
text-align: left;
background-color:#c0c0c0;
font-family: "Trebuchet MS", "Century Gothic", Arial, Helvetica;
font-size: 12pt;
overflow: wrap;
float:left;
clear:right;
}
.footer {
/*position: absolute;
margin-left: 0px;
margin-top: 618px;*/
width: 1024px;
height: 80px;
background-color:green;
clear:right;
}
</style>
</head>
<body>
<div class="page">
<div class="header">This is the header area</div>
<div class="leftnav">
This is the left nav area
</div> <!-- left nav div -->
<div class="clientarea">
This is the client area
</div> <!-- client area div -->
<div class="footer">This is the footer area</div>
</div> <!-- page div -->
</body>
</html>
My E very bad, so i can't explan clearly! Sorry and have fun!
Bookmarks