CSS list-style-position property

Description

CSS list-style-position defines the position of list item markers.

Syntax

list-style-position : inside | outside

Property values

outside Default

In this case, the markers don't merge themselves with the list item content.

list-style-position: outside;

inside

In this case, the markers become a part of the list item content.

list-style-position: inside;

Applicable to

It applies to list items.

#CSS digger
Was this article helpful?

 
  • See the effect of both type of positions. 'inside' makes markers part of list item.
  • See the effect of both type of positions. 'inside' makes markers part of list item.
×

Ctrl+D