10. Chapter 12. Lists and Generated
Content
list-style inside | outside | inherit
Values:
[ <list-style-type> || <list-style-image> || <list-style-position> ] | inherit
Initial value:
Refer to individual properties
Applies to:
Elements whose display value is list-item
disc | circle | square | decimal | decimal-leading-zero | upper-alpha |
Inherited: lower-alpha | upper-roman | lower-roman | lower-greek
Yes | hebrew | armenian | georgian | cjk-ideographic | hiragana
| katakana | hiragana-iroha | none | inherit
Computed value:
See individual properties
11. Table 12-1. Keywords of the list-style-
type property in CSS2.1
Keyword Effect
Uses a disc (usually a filled circle) for list-item
disc
markers
circle Uses a circle (usually open) for markers
square Uses a square (filled or open) for markers
decimal 1, 2, 3, 4, 5, . . .
decimal-leading-zero 01, 02, 03, 04, 05, . . .
upper-alpha
A, B, C, D, E, . . .
upper-latin
lower-alpha
a, b, c, d, e, . . .
lower-latin
upper-roman I, II, III, IV, V, . . .
lower-roman i, ii, iii, iv, v, . . .
lower-greek Lowercase classical Greek symbols
armenian Traditional Armenian numbering
georgian Traditional Georgian numbering
none Uses no marker
12. • ul {margin-left: 0; padding-left: 1em;} OR
• ul {margin-left: 1em; padding-left: 0;}