Home Tutorial CSS CSS ol (Ordered List)

MSN Random Online

CSS ol (Ordered List) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:12

CSS ol

Defines the properties for an ordered list.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 1.0+ 1.0+ 4.0+ 1.0+



This example sets the style for all ordered lists to lower-case alphabet characters:

li {
list-style-type: lower-alpha;


Style rules for "li" elements will apply to elements in both ordered and unordered lists. Use "ol" and "ul" styles to set the styles for the two list types separately.


Top Members

No top members yet.