This is ok(without space):
li.highlight{ background:#FF9900 none repeat scroll 0 0; }
This will not work(with space):
l
spacing is meant to call different elements and not items related to one element. for example .highlight is not a separate element. While calling div table are all seperate elements