test_header
HTML
<body>
<div id="header">
<table class="layout" cellspacing="0">
<tr>
<td class="col1">
<a href="#"><img src="../webreference_test/images/header_link_first.png" alt="" />
<p><span>Мастер-класс:</span>
<br />Новые направления web-дизайна</p>
</a>
</td>
<td class="col2">
<a href="#"><img src="../webreference_test/images/header_link_second.png" alt="" />
<p><span>Мастер-класс:</span>
<br />Тонкости DIV-ной вёрстки</p>
</a>
</td>
<td class="col3">
<a href="#"><img src="../webreference_test/images/header_link_third.png" alt="" />
<p><span>Мастер-класс:</span>
<br />JavaScript - использование DOM</p>
</a>
</td>
</tr>
</table>
</div>
</body>
CSS
@charset "utf-8";
/* CSS Document */
BODY {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
#header {
height: 100px;
background-image: url(../webreference_test/images/header_background.png);
border-top: solid 1px #446eaf;
border-bottom: solid 1px #5c7ab7;
}
.layout {
width: 100%;
table-layout: fixed;
}
.layout TD {
width: 200px;
border: 0px;
padding: 7px;
vertical-align: top;
font-size: 10px;
}
.layout img {
border-bottom: solid 1px #25252b;
}
.layout a {
display: block;
border: solid 1px #25252b;
background-color: #666666;
text-decoration: none;
}
.layout a:hover {
text-decoration: underline;
color: #dfded9;
}
.layout p {
margin: 0 0 0 5px;
font-size: 9px;
line-height: 12px;
letter-spacing: 0.5px;
color: #dfded9;
}
.layout span {
color: #FFF;
}
.col1 {
margin: 0 50%;
text-align: center;
}
.col2 {
width: 200px;
text-align: center;
}
.col3 {
width: 50%;
text-align: center;
}