/

HTML / CSS / JavaScript Tutorial

CSS Property: list-style

[this page | pdf | back links]

The CSS (CSS1) list-style property is a shorthand property combining up to 3 list properties.

 

Valid property values (other than inherit and initial) are defined by the elements of the shorthand. Shorthand elements (in the order in which they appear) are:

 

-        list-style-type

-        list-style-position

-        list-style-image

 

Default Value:

disc outside none

JavaScript syntax:

e.g. object.style.listStyle="decimal inside"

Inherited:

Yes

Animatable:

See individual properties

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile