Latest

recent

CSS list-style-image Property

Definition

The list-style-image property replaces the list-item marker with an image.
Note: Always specify a "list-style-type" property in case the image is unavailable.
Inherited: Yes

JavaScript Syntax

CSS properties can also be dynamically changed with a JavaScript.
Scripting Syntax: object.style.listStyleImage="url('blueball.gif')"

Example

ol
{
list-style-image: url(blueball.gif);
list-style-type: circle
}

Possible Values

Value Description
url The path to the image
none Default. No image will be displayed

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