list-style-image | NN 6 IE 4 CSS 1 |
Inherited: Yes | |
Provides the URL for an image that is to be used as the marker for a list item. Because this attribute can be inherited, a setting for an individual list item can override the same attribute setting in its parent. |
|
CSS Syntax | |
list-style-image: none | uri
|
|
Value | |
For uri, supply any valid full or relative URL (in the CSS format) to an image file with a MIME type that is readable by the browser. |
|
Initial Value | |
none |
|
Example | |
ul {list-style-image: url(images/folder.gif)} li.file {list-style-image: url(images/doc.gif)} |
|
Applies To | |
dd, dt, li, ol, and ul elements and any other element assigned the display:list-item style attribute. |
|
Object Model Reference | |
[window.]document.getElementById("elementID").style.listStyleImage
|