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 | uri
Value
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
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.