HTML Dog
Skip to navigation

CSS Property: list-style-position

Whether a marker for a list item should appear inside or outside the list item box.

Applies to boxes set to display: list-item (of which li HTML elements are by default).

Possible Values

ValueDescription
outsideMarker sits outside the list item box. Default.
insideMarker sits inside the list item box.
inherit

Example


li { list-style-position: inside; }