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.

This entry was posted in Espresso and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">