CSS Style Sheet and HTML Codes of Sample CSS Layout

<html>
<head>
<title>CSS Layout</title>
<style type="text/css">
body {
background-color: #fff;
font-family: arial, verdana, helvetica;
font-size: 20px;
margin: 0px;
padding: 0px;
}

#headerbox {
float: left;
width: 100%;
height: 20%;
margin: 0px;
padding: 0px;
text-align: center;
background-color: red;
border: 1px solid #000;
}

#leftbox {
float: left;
width: 15%;
height: 70%;
margin: 0px;
padding: 0px;
text-align: center;
background-color: #fff;
border: 1px solid #000;
}

#centerbox {
float: left;
width: 85%;
height: 70%;
margin: 0px;
padding: 0px;
text-align: center;
background-color: #099;
border: 1px solid #000;
}

#footerbox {
float: left;
width: 100%;
height: 10%;
margin: 0px;
padding: 0px;
text-align: center;
background-color: #9cf;
border: 1px solid #006;
}
</style>
</head>
<body>

<div id="headerbox">HEADERBOX</div>

<div id="leftbox">LEFTBOX</div>

<div id="centerbox">CENTERBOX</div>

<div id="footerbox">FOOTERBOX</div>

</body>
</html>