body {
width: 450px;
margin: 0;
padding: 10px;
font-size: 14px;
font-family: “Arial”, sans-serif;
}
.logo,
.contacts,
.about-us,
.main-menu,
.footer {
padding: 10px 20px 10px 20px;
background-color: #f5f5f5;
border: 2px solid #cccccc;
}
/* Собственные стили блоков */
.header {
min-height: 40px;
margin-bottom: 20px;
}
.logo {
float: left;
width: 100px;
text-align: center;
}
.contacts {
float: right;
width: 110px;
text-align: center;
}
.about-us {
width: 200px;
margin-bottom: 10px;
}
.about-us h1 {
}
.about-us p {
font-size: 12px;
}
.main-menu {
width: 50px;
}
.footer {
}
body {
width: 450px;
margin: 0;
padding: 10px;
font-size: 14px;
font-family: “Arial”, sans-serif;
}
.logo,
.contacts,
.about-us,
.main-menu,
.footer {
padding: 10px 20px 10px 20px;
background-color: #f5f5f5;
border: 2px solid #cccccc;
}
.header {
min-height: 40px;
margin-bottom: 20px;
}
.logo {
float: left;
width: 230px;
background-color:#333333;
color:#ffffff;
text-align: center;
font-weight:bold;
}
.contacts {
float: right;
width: 110px;
background-color:#333333;
color:#ffffff;
text-align: center;
font-style:italic;
}
.about-us {
width: 230px;
margin-bottom: 20px;
float:left;
margin-bottom:18px;
}
.about-us h1 {
font-size:20px;
}
.about-us p {
font-size: 12px;
}
.main-menu {
width: 110px;
float: right;
}
.footer {
background-color:#333333;
color: #ffffff;
clear: both;
}