<body>
<div class="top">
<div class="layout-positioner">
<div class="header">Header</div>
</div>
<div class="menu">
<div class="layout-positioner">Menu</div>
</div>
<div class="layout-positioner">
<div class="promo">
<div class="promo1">Promo 1</div>
<div class="promo2">Promo 2</div>
</div>
</div>
</div>
<div class="center">
<div class="layout-positioner">
<div class="column left">Left</div>
<div class="column main">Main</div>
<div class="column right">Right</div>
</div>
</div>
<div class="footer">
<div class="layout-positioner">Footer</div>
</div>
</body>
html,
body {
margin: 0;
padding: 0;
}
body {
width: 450px;
height: 335px;
font-family: “Arial”, sans-serif;
font-size: 10px;
color: white;
}
.layout-positioner {
width: 350px;
margin: 0 auto;
}
.layout-positioner::after {
content: “”;
display: block;
clear: both;
}
.top {
min-height: 150px;
padding: 10px 0;
background-color: #34495e;
}
.header {
width: 340px;
min-height: 25px;
padding: 5px;
background-color: #c0392b;
}
.menu {
min-height: 25px;
margin: 10px 0;
padding: 5px;
background-color: #3498DB;
}
.promo1,
.promo2 {
float: left;
width: 160px;
min-height: 50px;
margin-right: 10px;
padding: 5px;
background-color: #c0392b;
}
.promo2 {
margin-right: 0;
}
.center {
background-color: #ffffff;
min-height: 130px;
}
.column {
float: left;
width: 60px;
min-height: 100px;
margin: 10px 10px 10px 0;
padding: 5px;
background-color: #3498DB;
}
.main {
width: 180px;
}
.right {
margin-right: 0;
}
.footer {
min-height: 25px;
padding: 5px;
background-color: #34495e;
}
.menu .layout-positioner,
.footer .layout-positioner {
padding-left: 10px;
}