NOTICE: This website is no longer updated or supported - as such many of the techniques used to build it may seem antiquated in the modern day. It is preserved for historical reasons only.

HTML XHTML The Complete Reference
home » reference » appendix b » css1 / css2 properties


This property specifies the distance between the nearest border edges of a marker box and its associated surrounding box. The value may be specified in any length unit either relative or absolute. Lengths may be negative. So far, this property is not supported by any major browser.


li:before { display: marker; marker-offset: 3em;
content: counter(mycounter, lower-roman) ".";
counter-increment: mycounter;}

Browser and CSS Support Notes

No IE support
No Nav or Mozilla support
No Opera support

(X)HTML Elements
CSS Properties
Back: margin properties Next: marks
< Home | About | Chapters | Examples | Errata | Reference | Site Map >