W3C home > Mailing lists > Public > www-style@w3.org > February 1999

Re: (css) list properites

From: Steven Pemberton <Steven.Pemberton@cwi.nl>
Date: Wed, 10 Feb 1999 10:29:32 +0100 (MET)
To: "Christina" <cwodtke@sirius.com>, <www-style@w3.org>
Message-ID: <14017.20485.473552.315693@schoener.cwi.nl>
> can you control the indents on a list (ul or ol) with css 1 or 2? Or do I
> need to beg for it for css 3?

You can do it with CSS1:

	li { margin-left: 1em }

If you want to control the individual indents of nested lists use:

	li { margin-left: 1em }
	ul ul li { margin-left: 10em }
	ul ul ul li { margin-left: 2em }

etc.

Steven Pemberton
Received on Wednesday, 10 February 1999 04:29:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:58 GMT