Javascript Reference
Categories: STYLE

javascript STYLE listStyleImage

@March 15, 2008, 1:22 a.m.
listStyleImageFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 2  

Read/Write  

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 (including none) for an individual list item can override the same attribute or property setting in its parent.

 
Example
 
document.getElementById("itemList").style.listStyleImage = "url(images/3DBullet.gif)";
 
Value

Use none (as a string) to override an image assigned to a parent element. Otherwise, supply any valid full or relative URL (in the CSS URL format) to an image file with a MIME type that is readable by the browser.

 
Default

none


Powered by Linode.