• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 52. Building Lists > Adjusting List Properties with CSS

Adjusting List Properties with CSS

Cascading Style Sheets introduce a few extra list-formatting possibilities, as Table 52.2 shows.

Table 52.2. CSS List Attributes
ATTRIBUTECONTROLSPOSSIBLE VALUESEXAMPLE
list-style-imageThe image to display in place of a bullet or leading characterurl(imagepath), noneul {

list-style-image: url(../images/bullet.gif);

}
list-style-positionThe position of the bullet or leading character in the list itemsinside, outside relation tool {

list-style-position: inside;

}
list-style-typeThe type of bullet or leading character to displaydisc, circle, square, decimal, lower-roman, uppper-roman, lower-alpha, upper-alpha, noneol {

list-style-type: lower-roman;

}



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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