• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

15.5. list-style Property

The list-style property is a “shortcut” property that incorporates all of the features contained within its sibling properties list-style-type, list-style-position and list-style-image. It is a convenient way to either set list display values that belong to its sibling properties, or to mix and match some of them.

list-style can take the six CSS1 values that belong to the list-style-type property: decimal, lower-alpha, upper-alpha, lower-roman, upper-roman and none. decimal displays a regular number, which is the default value for all ordered list elements. lower-alpha and upper-alpha display lower- and uppercase letters in alphabetical order for each list element. Similarly, lower-roman and upper-roman display lower- and uppercase roman numerals in numerical order for each list element. The value none (shared with list-style-image) is the default value, and it doesn't do anything (in other words, the list appears the same as a regular, non-CSS altered list). Under CSS2 and a proposed CSS3 module, list-style now also accepts the myriad of other values now associated with list-style-type.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint