<div class="title">
<div class="positioner">
<div class="header">Header</div>
</div>
</div>
<div class="menu">
<div class="positioner">
<div class="last">Menu</div>
</div>
</div>
<div class="title">
<div class="positioner">
<div class="promo">Promo 1</div>
<div class="promo">Promo 2</div>
</div>
</div>
<div class="content">
<div class="positioner">
<div class="text">Left</div>
<div class="text">Main</div>
<div class="text">Right</div>
</div>
</div>
<div class="title">
<div class="positioner">
<div class="last">Footer</div>
</div>
</div>
html,
body {
margin: 0;
padding: 0;
}
body {
width: 450px;
height: 335px;
font-family: “Arial”, sans-serif;
font-size: 10px;
color: white;
}
.title {
background: #34495e;
}
.positioner {
margin: 0 auto;
width: 350px;
padding: 5px;
}
.positioner::after {
content: “”;
display: table;
clear: both;
}
.header {
background: #c0392b;
padding: 5px;
height: 25px;
margin: 5px 0;
}
.menu {
background: #3498DB;
}
.last {
padding: 0 0 13px 5px;
}
.promo {
background: #c0392b;
padding: 5px;
width: 160px;
min-height: 50px;
float: left;
margin: 5px 0;
}
.promo:first-child {
margin-right: 10px;
}
.text {
background: #3498DB;
padding: 5px;
margin: 5px 10px 5px 0;
min-height: 100px;
width: 60px;
float: left;
}
.text:nth-child(2) {
width: 180px;
}
.text:last-child {
margin-right: 0;
}