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

Re: list-item alignment in CSS

From: Todd Fahrner <fahrner@pobox.com>
Date: Tue, 3 Jun 1997 16:30:11 -0700
Message-Id: <v03102803afba535cac4e@[206.245.203.103]>
To: www-style@w3.org, davidp@earthlink.net
Cc: howcome@w3.org
I accidentally sent the last message before I was finished. Which is
opportune since you'd all probably have passed into coma before I could
point out the following critical discrepancy in the spec between the
wording and the ascii-art illustration.

From http://www.w3.org/pub/WWW/TR/REC-CSS1#list-item-elements :

---

  <STYLE TYPE="text/css">
    UL         { list-style: outside }
    UL.compact { list-style: inside }
  </STYLE>

  <UL>
    <LI>first list item comes first
    <LI>second list item comes second
  </UL>

  <UL CLASS=COMPACT>
    <LI>first list item comes first
    <LI>second list item comes second
  </UL>

The above example may be formatted as:

  * first list item
    comes first

  * second list item
    comes second


  * first list
  item comes first

  * second list
  item comes second

---

Note the alignment of the asterisks in the ascii-rendering. The style has
gone from floating "outside" the block to "inside", yet it is the block,
rather than the marker that has shifted. This can't be right. I say this
should be corrected to:

---

  * first list item
    comes first

  * second list item
    comes second


    * first list
    item comes first

    * second list
    item comes second


______________________________
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 19:20:23 GMT

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