There is nothing 'simple' about your solution. Adding in and using a <ul> without any <li> s in it is both lazy and pointless. 10 years ago everybody realised that separating out presentational elements from the page and keeping them in a CSS file made management of a website a lot easier - where have you been? There's also another reason to use standards compliant code - the results are much more predictable across a variety of platforms.
You may have got it to work this time round but please don't go round recommending your garbage code to others who come here to learn.
Hear! Hear!