Javascript Reference
Categories: STYLE

javascript STYLE listStylePosition

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

Read/Write  

Specifies 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.getElementById("itemList").style.listStylePosition = "inside";
 
Value

Either constant value as a string: inside | outside.

 
Default

outside


Powered by Linode.