list-style-position

The list-style-position property specifies the position of the marker box in the principal block box.

list-style-position: inside | outside | inherit
Initial: outside
Applies To: elements with display: list-item
Inherited: yes
Percentages: NA
Media: visual

Values

Δ

list-style-position: value;
 
Value: Description:
inherit Takes the same computed value as the property for the element's parent
inside Marker box is outside the principal block box
outside Marker box is the first inline box in the principal block box, after which the element's content flows

DOM

Δ

[window.]document.getElementById("element-id").style.listStylePosition = "list-style-position";

Example | Values | inside

Δ

Example | Values | outside

Δ

Example | DOM

Δ

References

Δ