Latest

recent

CSS list-style Property

Definition

The list-style property is a shorthand property for setting all the properties for a list in one declaration.
Inherited: Yes

JavaScript Syntax

CSS properties can also be dynamically changed with a JavaScript.
Scripting Syntax: object.style.listStyle="decimal inside"

Example

ul
{
list-style: disc outside
} ol
{
list-style: decimal inside
}

Possible Values

Value Description
list-style-type
list-style-position
list-style-image
Sets the properties for a list.Default value: Not defined

Goto CSS3 and CSS2 complete reference
CSS list-style Property Reviewed by 1000sourcecodes on 21:35 Rating: 5
Powered by Blogger.