July 1998
Intermediate to advanced
1456 pages
65h 5m
English
listStyle — NN n/a IE 4 DOM n/a
Read/Write
A shorthand property for setting up to three list-style properties in
one assignment statement. Whichever attributes you don’t
explicitly set with this attribute assume their default values. These
properties define display characteristics for the markers
automatically rendered for list items inside OL
and UL elements.
document.all.itemList.style.listStyle = "square outside none"
See the individual attribute entries for
listStyleType,
listStylePosition, and
listStyleImage for details on acceptable values
for each. You may include one, two, or all three values in the
list-style attribute setting in any order you wish.
None.
Read now
Unlock full access