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