как сделал я
вот это php код вставил в profile.php (+/-)
echo'<div class="head">';
echo '<div class="exit"><a href="profile.php?user=' . $user['id'] . '"><span style="color:#4c6b8f">' . ($user['id'] != $user_id ? $lng_profile['user_profile'] : $lng_profile['my_profile']) . '</span></a></div>';
echo '<div class="home"><a href="profile.php?act=stat&user=' . $user['id'] . '"><span style="color:#4c6b8f">' . $lng['statistics'] . '</span></a></div>';
echo'<div style="clear:both"> </div>';
echo'</div><div class="maintxt">';а этот сам css (+/-)
.head {
background: #fff;
background: -webkit-gradient(linear,left top,left bottom,from(#ffffff),to(#e6e6e6));
width: 100%;
}
.head a {
display: inline-block;
padding: 8px 0;
float: left;
width: 50%;
height: 8%;
text-align: center;
margin: 0px;
border: 1px solid #c5c5c5;
border-right: 0;
margin-left: -1px;
}
.head a:hover {
background: #e6e6e6;
}
.head .home {
box-shadow: 0px 0px 0px,1px 0px 0px #39436A;
}
.head .exit {
box-shadow:-1px 0px 0px #4B5A8E, 0px 0px 0px ;
}