/

HTML / CSS / JavaScript Tutorial

CSS Property: list-style-position

[this page | pdf | back links]

The CSS (CSS1) list-style-position property identifies whether a list marker (e.g. a bullet character or (a), (b), (c) etc.) is inside or outside the relevant content container.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

inside

Marker and text are indented and appear inside the relevant content container

outside

(default value). Marker is kept outside the relevant content container

 

Default Value:

outside

JavaScript syntax:

e.g. object.style.listStylePosition="inside"

Inherited:

Yes

Animatable:

No

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile