list-style-position

I would appreciate if someone would like to clarify the implications of  the 
"list-style-position" property.

start---------------from [CSS 2.1 28 january 2003]
12.6 lists 
list-style-position
This property specifies the position of the marker box in the principal block 
box. Values have the following meanings: 
	outside 
		The marker box is outside the principal block box. CSS 2.1 does 
		not specify the precise location of the marker box. 
	inside 
		The marker box is the first inline box in the principal block box, 
		after which the element s content flows.
end-------------------

I have implemented  "outside" by first creating an anonymous block. Inside 
this block I put an inline element containing the marker, followed by the 
list item element box behaving as if beeing an inline-block. The properties 
are applied to the list item element as if it was not wrapped in an anonymous 
block. The property values of the anonymous block and the marker element are 
inherited for inherited properties, otherwise initial. Is this way of 
implementing it correct according to all aspects of the specification, or if 
not, which behaviour will be wrong?

Where should I place :before content in a list item element having 
list-style-position=inside, before or after the marker?

// Roger

Received on Thursday, 7 August 2003 15:17:31 UTC