list-style-position

The list-style-position CSS property dictates whether the marker is rendered inline, or positioned just outside of the list item.

Syntax

CSS

list-style-position: value;

JS

object.style.listStylePosition = "value";

Values

<'list-style-position'> = inside | outside
inside

No special effect.

outside

If the list item is a block container, the marker box is blockified and placed outside the principal block box.

Initial

outside

Examples

inside

outside

JS

Internal

list-style

list-style-image

list-style-type

External

World Wide Web Consortium (W3C)

Home Menu