Name
listStylePosition — NN n/a IE 4 DOM n/a
Synopsis
Read/Write
Whether the marker is inside or outside (outdented) the box
containing the list item’s content. When
listStylePosition
is set to
inside
and the content is text, the marker appears
to be part of the text block. In this case, the alignment (indent) of
the list item is the same as normal
, but without
the outdented marker.
Example
document.all.itemList.style.listStylePosition = "inside"
Value
Either constant value as a string: inside
|
outside
.
Default
outside
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.