CSS list-style-position Property
Definition
The list-style-position property places the list-item marker in the list.Inherited: Yes
JavaScript Syntax
CSS properties can also be dynamically changed with a JavaScript.Scripting Syntax: object.style.listStylePosition="inside"
Example
ol { list-style-position: inside } |
Possible Values
Value | Description |
---|---|
inside | Indents the marker and the text. |
outside | Default. Keeps the marker to the left of the text |
Goto CSS3 and CSS2 complete reference
CSS list-style-position Property
Reviewed by 1000sourcecodes
on
21:32
Rating: