No, you didn’t do anything wrong in particular. Browsers read the style sheet from top to bottom. You put the .first class in your style sheet. So it applies the border:none to the list item. And then it reads your #toplinks li after which then gives it a border. Place the .first class after the #toplinks li in your style sheet and that should sort everything out.