Type: | length |
---|---|
Inherited: | yes |
Used By: | ol, ul |
Default: | 2.5em for OL, 1em for UL |
See: | border-left direction margin-left padding-left |
The marker-offset is how far to the left of the list element to place the marker. It's value is generally less than or equal to the total of the padding-left margin-left and border-left of the list elements in the list.
Note for locales where the direction is "rtl", the value is how far to the right of the list element to place the marker.
This example places the marker flush with the left of the list.
ol { marker-offset:2.5em; marker-type:decimal; } ol > li { padding-left:2.5em; }