Syntax: | list-style : value |
---|---|
Possible Values : | list-style-type | list-style-position | url |
Initial Value : | Not defined |
Applies to: | Elements with display value list-item |
Inherited : | Yes |
The list-style property is a shorthand for the list-style-type, list-style-position, and list-style-image properties.
Example:
LI.square{list-style : square inside }
UL .plain { list-style: none }
UL .check { list-style: url(../images/check.gif)}
OL { list-style: upper-alpha }
OL .low { list-style: lower-roman inside }
see example in action