This is ok(without space):
li.highlight{ background:#FF9900 none repeat scroll 0 0; }
This will not work(with space):
l
Without space you are selecting a li with the class highlight. With the sapce you are selecting a descandant of a li, where the descendant has a class highlight.