Просмотр поста

.
fanatos
Менделеев
в ксс
.lax{
///background: url(https://static-s.aa-cdn.net/im ... 4efe5) repeat-x top #253137;
color: -internal-root-color;
padding: 9px 0;
text-align: center;
margin: 0 5px 0 5px;

}

.lax a {
background: gray;
display: inline-block;
width: 32%;
padding: 9px 0;
color: #fff;
}


твой код замени

/*
-----------------------------------------------------------------
Главное меню пользователя
-----------------------------------------------------------------
*/

if ($user_id) {
    #меню для пользователя
echo'<div class="head">';
    echo'<div class="lax"><a href="/" class="home"><img src="' . $set['homeurl'] . '/theme/' . $set_user['skin'] . '/images/home.png" alt="home" /></a>';
    echo'<a href="' . $set['homeurl'] . '/users/profile.php?act=mail" class="mail"><img src="' . $set['homeurl'] . '/theme/' . $set_user['skin'] . '/images/mail.png" alt="mail"/></a>';
    echo'<a href="' . $set['homeurl'] . '/users/profile.php?act=office" class="profile"><img src="' . $set['homeurl'] . '/theme/' . $set_user['skin'] . '/images/profile.png" alt="profile"/></a>';
    echo'<a href="'. $set['homeurl'] .'/exit.php " class="exit"><img src="' . $set['homeurl'] . '/theme/' . $set_user['skin'] . '/images/exit.png" alt="exit"/></a>';
    echo'<div style="clear:both"> </div> </div>';
echo'</div> <div class="maintxt">';
}