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