Скажите, что можно улучшить?
HTML
Испытание: строим сетку <div class="layout"> Header
</div>
<div class="menu"> Menu
</div>
<div class="layout-positioner">
<div class="promo"> Promo 1
</div>
<div class="promo"> Promo 2
</div>
</div>
</div>
<div class="features">
<div class="layout-positioner">
<div class="left layout1"> Left
</div>
<div class="main layout1"> Main
</div>
<div class="right layout1">Right
</div>
</div>
</div>
<div class="footer">
<div class="layout-positioner">
<div class="down"> Footer
</div>
</div>
</div>
</body>
CSS
html,
body {
margin: 0;
padding: 0;
}
.layout-positioner::after {
display: table;
content: “”;
clear: both;
}
.layout-positioner{
width: 350px;
margin: 0 auto;
}
body {
width: 450px;
height: 335px;
font-family: “Arial”, sans-serif;
font-size: 10px;
color: white;
}
.header {
width: 450px;
background-color: #34495e;
padding: 10px 0px;
}
.layout {
background-color: #c0392b;
width: 340px;
height: 25px;
margin: 0px auto 10px;
padding: 5px;
}
.header .menu {
width: 395px;
background-color: #3498DB;
padding-left: 55px;
padding-top: 5px;
height: 30px;
margin: 10px 0;
}
.promo {
float: left;
background-color: #c0392b;
height: 50px;
width: 160px;
padding: 5px;
}
.promo:last-child {
margin-left: 10px;
}
.layout1{
background-color: #3498DB;
float: left;
margin: 10px 0;
padding: 5px;
height: 100px;
}
.left {
width: 60px;
}
.main {
width: 180px;
margin-left: 10px;
}
.right {
width: 60px;
margin-left: 10px;
}
.footer {
background-color: #34495e;
}
.down {
padding: 5px;
height: 30px;
}