1090 Users read it.

Essential CSS/HTML Lists Styling Techniques

by Lubov Cholakova (November 9, 2009)

"Using lists, a developer can markup horizontal navigation, dropdown navigation, a list of links, and even scrolling content panels (with the help of Javascript)."

Certain elements in HTML lend themselves to many situations when marking up a website, one of the more useful of these elements is the HTML list. Using lists, a developer can markup horizontal navigation, dropdown navigation, a list of links, and even scrolling content panels (with the help of Javascript). These features can help developers build new sites and applications as well as integrate new content into existing applications.

Read it at the external site...

User Rating (Not rated)
0 reviews available

Unordered/Ordered Lists

Unorderd lists are recommened to be used with a list of items where order is irrelevant. With unordered lists (and all lists actually) the W3C discourage authors from using lists purely as a means of indenting text. This is a stylistic issue and is properly handled by style sheets.

Ordered lists on the other hand are encouraged to be used when order matters for the list elements, example: A cooking recipe or turn-by-turn directions. For the examples in this article it is possible to substitute an ol for a ul or vice-versa. That choice is left to your discretion...

The tutorial also contains:

  • The Basics of Styling Lists
  • More Advanced Uses for List
  • Ordered Lists: A Side Note
  • Lists & CSS Resources

*Read the full article at the external site.  

 

Follow us on twitter Subscribe to our RSS feed
Activate your free membership today | Login | Currency