June 18th, 2006

Espresso
No Comments »

CSS lists not aligning?

Are you looking for a simple way to make sure your CSS lists don’t put space and start at the top? This is useful for things like navigation in a list and really easy to do:

#nav ul{ margin: 0px; }

Useful if you just don’t want to have space at the top of any list and you can easily adapt using just the ul{ } rather than the class named ul.


Leave a Reply