Lists


These styles set styles (for example, the bullet type) for ordered and unordered lists. Combine these styles with margins and indents.

list-style-image

Usage

Sets an image to replace the list bullets.

Values

url("...") The URL for the image.

none No images.

inherit The same as the parent element.

Initial Value

none


list-style-type

Usage

Sets the style of the unordered list bullets (or numbers in ordered lists).

Values

<shape> The bullets can be set to disc (closed circle), circle (open circle), or square (closed square).

<alignment> The bullets can be aligned around decimal or decimal-leading-zero.

<text> Numbers in an ordered list can be Roman numerals (lower-roman, upper-roman), Latin numerals (lower-latin, upper-latin), or American alphabet characters (lower-alpha, upper-alpha).

inherit The same as the parent element.

Initial Value

disc.




Sams Teach Yourself HTML in 10 Minutes
Sams Teach Yourself HTML in 10 Minutes (4th Edition)
ISBN: 067232878X
EAN: 2147483647
Year: 2004
Pages: 151
Authors: Deidre Hayes

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net