Forum Moderators: not2easy
<body>
<div id="toppanel">
<div id="panel">
<a href="#" class="wsr-active"> </a> <a href="/dev/switch.php?company=maverick" class="mav-inactive"> </a>
<a href="/dev/change-password.php" class="settings"></a> <a href="/dev/logout.php" class="logout"></a>
</div>
</div>
</body>
*{margin:0;padding:0;}
body{font:12px Verdana, Arial, Helvetica, sans-serif;color:#666666;overflow:auto;height:100%;max-height:100%;margin-bottom:20px;}
#toppanel{position:relative;top:5px;width:100%;/*z-index:999;margin-left:auto;margin-right:auto;*/}
#panel{width:100%;height:420px;/*overflow:hidden;position:relative;z-index:3;*//*margin-right:25px;display:none;*/}
#panel a {
background: url('../images/header-icons.jpg') /*no-repeat top left*/; }
#panel .mav-active{ background-position: 0 0; width: 66px; height: 24px; }
#panel .mav-inactive{ background-position: 0 -25px; width: 66px; height: 24px; }
#panel .wsr-active{ background-position: 0 -50px; width: 50px; height: 24px; }
#panel .wsr-inactive{ background-position: 0 -75px; width: 50px; height: 24px; }
#panel .login{ background-position: 0 -100px; width: 36px; height: 37px; }
#panel .logout{ background-position: 0 -138px; width: 36px; height: 37px; }
#panel .settings{ background-position: 0 -176px; width: 36px; height: 37px; }
#panel .settings{ background-position: 0 -176px; width: 36px; height: 37px; }
display:inline-block(or block, or float it) so you can. The 5px is probably the width of the single space ( ).
text-indent:-9999pxor similar. (It must also be a block-level element for text-indent to work.)
<div id="toppanel">
<ul>
<li><a href="#" class="wsr-active">WSR</a></li>
<li><a href="/dev/switch.php?company=maverick" class="mav-inactive">Maverick</a></li>
<li><a href="/dev/change-password.php" class="settings">Change Password</a></li>
<li><a href="/dev/logout.php" class="logout">Log Out</a></li>
</div>