#menu li a { display: block; height: 50px; line-height: 25px; padding: 0 20px 0 0; float: left; color: #ddd; background: url(images/tab_a.gif) no-repeat right -25px; text-decoration: none; } #menu li a b { display: block; height: 50px; float: left; padding: 0 0 0 20px; background: url(images/tab_b.gif) no-repeat left -25px; cursor: pointer; } #menu li a:hover, #menu li.active a { background: url(images/tab_a.gif) no-repeat right -10px; line-height: 50px; color: #fff; } #menu li a:hover b, #menu li.active a b { background: url(images/tab_b.gif) no-repeat left -10px; line-height: 50px; }