javascript STYLE listStylePosition
@March 15, 2008, 1:22 a.m.
listStylePosition | Firefox/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 |
Permanent URL:
http://javascript.gakaa.com/style-liststyleposition.aspx
Powered by Linode.