its not a bug you van call 2 styles in one call so <span class="style1 style2"> will asign the span tag with 2 styles first it will look at the .style1 in the css and then it will take alook at style2 in css its nice this way so you could have a .here classe for all the buttons but when you need a special style for the last button then you just add a style to you stylsheet called .last and that button will be first styled like .here and then get posible chages made by the style .last great for horizontal menu's that need a diff. style for the first and the last item but generaly must look the same as the rest. e.g. #footer ul.topnav li.here{ text-decoration:underline; border-right:1px solid #000 /*creates a delimitter*/ padding-left:0px } #footer ul.topnav li.last{ border:none /*no need for a delimitter*/ }