<body>
<div class="wrapper">
<div class="header">
<div class="layout-positioner">
<div class="layout-column">Header
</div>
</div>
</div>
<div class="menu">
<div class="layout-positioner">
<div class="layout-column">
Menu
</div>
</div>
</div>
<div class="promo">
<div class="layout-positioner">
<div class="layout-column">
Promo 1
</div>
<div class="layout-column">
Promo 2
</div>
</div>
</div>
<div class="content">
<div class="layout-positioner">
<div class="layout-column">
Left
</div>
<div class="layout-column">
Main
</div>
<div class="layout-column">
Right
</div>
</div>
</div>
<div class="footer">
<div class="layout-positioner">
Footer
</div>
</div>
</div>
</body>
html,
body {
margin: 0;
padding: 0;
}
body {
width: 450px;
height: 335px;
font-family: “Arial”, sans-serif;
font-size: 10px;
color: white;
}
.wrapper {
width: 450px;
background: #34495e;
}
.header {
padding: 10px;
}
.header .layout-column {
width: 345px;
height: 30px;
padding-top: 5px;
padding-left: 5px;
background: #c0392b;
margin: 0 auto;
}
.menu {
height: 30px;
padding-top: 5px;
padding-left: 55px;
margin-bottom: 10px;
background: #3498DB;
}
.promo {
height: 60px;
margin-bottom: 10px;
}
.promo .layout-column {
float: left;
width: 160px;
height: 50px;
background: #c0392b;
margin-right: 10px;
padding: 5px;
}
.promo .layout-positioner,
.content .layout-positioner {
margin-left: 50px;
}
.content {
padding: 10px;
background: #fff;
}
.content .layout-column {
float: left;
margin-right: 10px;
height: 100px;
width: 60px;
background: #3498DB;
padding: 5px;
}
.content .layout-column:nth-child(2) {
width: 180px;
}
.content .layout-positioner {
margin-left: 40px;
}
.footer {
height: 30px;
padding-top: 5px;
padding-left: 55px;
}
.layout-positioner::after {
display: table;
content: “”;
clear: both;
}
/*
Используемые цвета:
#34495e – мокрый асфальт
#c0392b – красный
#3498DB – синий
*/