Испытание: строим сеткуHeaderMenuPromo 1Promo 2LeftMainRightFooter
CSS
html,
body {
margin: 0;
padding: 0;
}
body {
width: 450px;
height: 335px;
font-family: “Arial”, sans-serif;
font-size: 10px;
color: white;
}
.header {
background: #34495e;
padding-top: 10px;
padding-bottom: 10px;
margin-bottom: 10px;
}
.layout-positioner:after {
content: “”;
display: table;
clear: both;
}
.layout-positioner {
width: 350px;
margin: 0 auto;
}
.layout-column {
padding-left: 5px;
padding-top: 5px;
}
.layout-column-1 {
min-height: 30px;
background: #c0392b;
}
.layout-column-2 {
min-height: 30px;
background: #3498DB;
margin-top: 10px;
margin-bottom: 10px;
}
.layout-column-promo-1 {
float: left;
min-height: 55px;
background: #c0392b;
width: 165px;
}
.layout-column-promo-2 {
float: right;
min-height: 55px;
background: #c0392b;
width: 165px;
}
.features {
margin-bottom: 10px;
}
.main {
width: 185px;
margin-right: 10px;
margin-left: 10px;
float: left;
background: #3498DB;
min-height: 105px;
}
.left, .right {
min-height: 105px;
background: #3498DB;
float: left;
width: 65px;
}
.footer {
background: #34495e;
min-height: 35px;
}