Wednesday, November 21, 2007

Putting CSS To Work: Fun With HTML Lists

If you've never played around with styling HTML lists, you should take a few minutes and check out A List Apart's, Taming Lists article. It shows in clear steps how to go from a bland bulleted lists to various interesting layouts. Best of all, there's an emphasis on keeping the HTML nice and clean.

I'll never look at laying out a navbar in the same way again. Consider one example they provide, where by only ul, li tags and using CSS colors, they managed to put together the following navbar:

As I said, impressive stuff. Now, let's pretend that this article wasn't first published in 2002, and I'm not just mastering this in 2007. It'll be our little secret.

No comments:

Post a Comment