Name
list-style-position — IE4 Y/Y | IE5 Y/Y | NN4 N/N | Op3 Y/-
Synopsis
This
property is used to declare the position of the bullet or number in
an unordered or ordered list with respect to the content of the list
item. Applies to elements with a display
value of
list-item
. If the bullet is set to be
outside
, then it is placed in the margin of the
list-item element. The exact behavior in this circumstance is not
defined in CSS.
Example
LI {list-style-position: outer;}
Values
inside
| outside
Default
outside
Inherited
yes
Applies to
elements with display of list-item
Get Cascading Style Sheets: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.