<html>
<head>
<style type="text/css">
#container {
width: 960px;
margin: 0 auto;
background-color:green;
}
#primary {
float: left;
height:500px;
width: 240px;
background-color:pink;
}
#content {
float: left;
width: 480px;
height:500px;
background-color:gray;
}
#secondary {
float: left;
width: 240px;
height:500px;
background-color:yellow;
}
#footer {
clear: both;
background-color:green;
}
</style>
</head>
<body>
<div id="container">
<div id="header">
<h1 align="center">Header</h1>
</div>
<div id="primary">
<p>Primary Sidebar</p>
</div>
<div id="content">
<p>Main content</p>
</div>
<div id="secondary">
<p>Secondary Sidebar</p>
</div>
<div id="footer">
<h1 align="center">Footer</h1>
</div>
</div>
</body>
<html>
No comments:
Post a Comment