HTML and CSS Reference
In-Depth Information
list-style
A shorthand property for specifying individual list-style properties in one step.
Value:
list-style-type list-style-position list-style-image
Initial value: See individual properties
Inherited: Yes
Applies to: List items and elements with a
display
value of
list-item
Supported by: Firefox, Safari, Opera, Internet Explorer
■
Note
Individual values are optional and can appear in any order.
list-style-type
Used to specify the style of list item markers.
Value:
none | disc | circle | square | decimal | decimal-leading-zero |
lower-roman | upper-roman | lower-alpha | upper-alpha | lower-latin |
upper-latin | lower-greek | Armenian | georgian
Initial value:
disc
Inherited: Yes
Applies to: Elements with a
display
value of
list-item
Supported by: Firefox, Safari, Opera, Internet Explorer (see note)
■
Note
In Internet Explorer 6 and lower,
decimal-leading-zero
,
lower-greek
,
armenian
, and
georgian
are not supported.
list-style-position
Determines whether the list item marker is placed inside or outside the
list-item
element's box.
Value:
inside | outside
Initial value:
outside
Inherited: Yes
Applies to: List items and elements with a
display
value of
list-item
Supported by: Firefox, Safari, Opera, Internet Explorer