Code
#hmenu {
float: center;
}
#hmenu a {
text-decoration: none;
color: #ffffff;
background: url(/img/kn100000.png) no-repeat center top;
display: block;
height: 64px;
width: 155px;
text-align: center;
font: bold 13px/63px tahoma, Times, serif;
}
#hmenu a:hover {
background: url(/img/kn110000.png) no-repeat top center;
display: block;
height: 64px;
width: 155px;
color: #ffffff;
text-align: center;
font: bold 13px/63px tahoma, Times, serif;
}
#hmenu2 a {
text-decoration: none;
color: #ffffff;
background: url(/img/kn200000.png) no-repeat center top;
display: block;
height: 64px;
width: 155px;
text-align: center;
font: bold 13px/63px tahoma, Times, serif;
}
#hmenu2 a:hover {
background: url(/img/kn220000.png) no-repeat top center;
display: block;
height: 64px;
width: 155px;
color: #ffffff;
text-align: center;
font: bold 13px/63px tahoma, Times, serif;
}
#hmenu3 a {
text-decoration: none;
color: #ffffff;
background: url(/) no-repeat center top;
display: block;
height: 95px;
width: 250px;
text-align: center;
font: bold 13px/65px tahoma, Times, serif;
}
#hmenu3 a:hover {
background: url(/) no-repeat top center;
display: block;
height: 95px;
width: 250px;
color: #ffffff;
text-align: center;
font: bold 13px/65px tahoma, Times, serif;
}
Code
<link type="text/css" rel="StyleSheet" href="/css-menu.txt" />
<table border="0" cellpadding="0" align="center" cellspacing="0" width="50%" ;">
<tr>
<td width="50%"></td>
<td id="hmenu2"><a href="/" >Главная</a></td>
<td id="hmenu2"><a href="/load" >Файлы</a></td>
<td id="hmenu2"><a href="/forum" >Форум</a></td>
<td style="width:170px;" id="hmenu3"></td>
<td id="hmenu"><a href="/news" >Новости</a></td>
<td id="hmenu">
<a href="$PERSONAL_PAGE_LINK$">Профиль</a> <a href="$REGISTER_LINK$">Регистрация</a>
</td>
<td id="hmenu"><a href="$LOGOUT_LINK$">Выход</a> <a href="$LOGIN_LINK$">Вход</a> </td>
<td width="1000"></td>
</tr>
</table>