<div class="header-block">
<div>Header</div>
</div>
<div class="menu">
<div class="layout-positioner clearfix">
<div class="menu-content">Menu</div>
</div>
</div>
<div class="layout-positioner clearfix">
<div class="promo1">Promo 1</div>
<div class="promo2">Promo 2</div>
</div>
<div class="content">
<div class="layout-positioner clearfix">
<div class="block-smail">Left</div>
<div class="main">Main</div>
<div class="block-smail">Right</div>
</div>
</div>
<div class="footer">
<div class="layout-positioner">
<div class="footer-content"> 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;
}
.layout-positioner {
width: 350px;
margin: 0 auto;
}
.clearfix::after {
content: “”;
display: table;
clear: both;
}
/* header */
.header {
width: 450px;
background: #34495e;
min-height: 50px;
padding: 10px 0;
margin-bottom: 10px;
}
.header-block {
width: 340px;
background: #c0392b;
min-height: 25px;
padding: 5px;
margin: 0 auto;
}
.menu {
width: 100%;
background: #3498DB;
min-height: 25px;
padding: 5px 0;
margin: 10px auto;
}
.menu-content {
padding-left: 5px;
}
.promo1 {
float: left;
width: 160px;
background: #c0392b;
min-height: 50px;
margin-right: 10px;
padding: 5px;
}
.promo2 {
float: left;
width: 160px;
background: #c0392b;
min-height: 50px;
padding: 5px;
}
/* main */
.content {
margin-bottom: 10px;
}
.block-smail {
width: 60px;
float: left;
background: #3498DB;
min-height: 100px;
padding: 5px;
}
.main {
width: 180px;
float: left;
background: #3498DB;
margin: auto 10px;
min-height: 100px;
padding: 5px;
}
/* footer */
.footer {
width: 100%;
background: #34495e;
min-height: 25px;
padding: 5px 0;
}
.footer-content {
padding-left: 5px;
}