#tabs li.current { background-position: 100% -40px; } #tabs li.current a { background-position: 0 -40px; }