marker-offsetNN n/a IE n/a CSS 2

Inherited: No

Controls the space between list item markers (which occupy their own box in the CSS box model) and the box that contains the list item text. Requires that the list item elements be set to a display style marker.

 
CSS Syntax
 
marker-offset: length | auto
 
Value

A length value (see the discussion of length values at the beginning of this chapter), or the auto constant.

 
Initial Value

auto

 
Example
 
li:before {display:marker; marker-offset:4em}
 
Applies To

List elements set to marker display mode (generally with a :before or :after pseudo-class).