Name
list-style-image — NN n/a IE 4 CSS 1
Synopsis
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
(including none) for an individual list item can
override the same attribute setting in its parent.
CSS Syntax
list-style-image: none | uriValue
Use none to override an image assigned to a parent
element. For uri, supply any valid full or
relative URL to an image file whose MIME type is readable by the
browser.
Initial Value
none
Example
UL {list-style-image: url(images/folder.gif)}
LI {list-style-image: none}Applies To
DD, DT, LI,
OL, and UL elements and any
other element assigned the display:list-item style
attribute.
Object Model Reference
- IE
[window.]document.all.elementID.style.listStyleImage
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access