Specifies the position of the bullet or number for a list.
Platform Support
IE | Netscape | Mozilla | Opera | Safari | 5.0+ | 6.0+ | 1.0+ | 4.0+ | 1.3.2+ |
---|---|---|---|---|
|
Values
inherit | Inherit the value from the parent element. |
disc | Filled-in circle bullet. |
circle | Open circle bullet. |
square | Square bullet. |
decimal-leading-zero | Numbered list starting with a zero (e.g. 01., 02., 03., etc.) |
decimal | Numbered decimal list (e.g. 1., 2., 3., etc.) |
lower-roman | Lower-case Roman numeral list (e.g. i., ii., iii., etc.) |
upper-roman | Upper-case Roman numeral list (e.g. I., II., III., etc.) |
lower-greek | Lower-case Greek alphabet list |
lower-alpha | Lower-case alphabet list (e.g. a., b., c., etc.) |
lower-latin | Lower-case alphabet list (e.g. a., b., c., etc.) |
upper-alpha | Upper-case alphabet list (e.g. A., B., C., etc.) |
upper-latin | Upper-case alphabet list (e.g. A., B., C., etc.) |
hebrew | Hebrew alphabet list. |
armenian | Armenian alphabet list. |
georgian | Georgian alphabet list. |
cjk-ideographic | Cjk-ideographic list. |
hiragana-iroha | Hiragana-iroha list. |
hiragana | Hiragana list. |
katakana-iroha | Katakana-iroha list. |
katakana | Katakana list. |
none | No bullet or number. |
Example
For a demonstration of the list-style-type attribute, see the demo page on quirksmode:
http://www.quirksmode.org/css/lists.html
Availability
W3C CSS2