style.listStyleImage (Property)

A URL for an image resource to be used for bullets in a list style.

Availability:

CSS level - 1
DOM level - 2
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myStyle.listStyleImage
CSS syntax:list-style-image: anImage
Argument list:anImageA bullet image URL

You can modify the image used as a leading bullet in a list by defining a URL here. The image will be fetched by the browser and then placed into the page at the front of each list item.

Note that this property is cascaded down and inherited by other elements so if you want to create sub-lists you will need to redefine it in child list styles.

The none keyword will restore the list bullet to its default appearance.

See also:style.listStyle, style.listStyleType