W3C home > Mailing lists > Public > www-style@w3.org > June 1997

list-item alignment in CSS

From: Todd Fahrner <fahrner@pobox.com>
Date: Mon, 2 Jun 1997 21:00:57 -0700
Message-Id: <v03102807afb9196be18d@[206.245.203.103]>
To: www-style@w3.org
I understand the properties of the display types "block" and "inline" (and
of course "none"), but am confused about "list-item". I can't seem to
influence the indent on lists in either of the mass-market 4.0b browsers. I
can't tell whether my faulty understanding of the formatting model is to
blame, or whether I've fallen into a browser implementation hole.

I want to block-indent lists by the same value as a paragraph indent, like
this:

	   This is an indented paragraph. Blabbity blab
	blab, blabbity blip. Yaddayadda woohoo, shoop-
	doobie-doop. Yaddayadda woohoo, blabbity blip
	shoop-doobie-doop.
	   This is an indented paragraph. Blabbity blab
	blab, blabbity blip. Yaddayadda woohoo, shoop-
	doobie-doop.
	a. This is a list item. Note that the text,
	   not the marker, is aligned with the paragraph
	   indent above.
	b. This is a another list item. Note that the text,
	   not the marker, is aligned with the paragraph
	   indent above.

Can CSS produce this sort of layout from standard markup? Any help
appreciated. I've read the relevant parts of the spec several times but
lose grip quickly without an implementation to fiddle with.

______________________________
mailto:fahrner@pobox.com
http://www.verso.com/

"Such machines will have enormous appetites. One of them will take
instructions and data from a roomful of girls armed with simple keyboard
punches, and will deliver sheets of computed results every few minutes.
There will always be plenty of things to compute in the detailed affairs of
millions of people doing complicated things."

--Vannevar Bush "As We May Think" 1945.
Received on Tuesday, 3 June 1997 00:40:33 GMT

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