CSS Lists

She has: 88 posts

Joined: Sep 2001

The now deprecated HTML List attribute of "start" isn't addressed at all (as far as I can tell) by CSS. (The "start" attribute doesn't seem to work consistently anyway.) How is one supposed to handle long, outline-type lists that span multiple pages?

Clear as mud?

He has: 1,758 posts

Joined: Jul 2002

According to the W3C you use "value" instead.

Quote: Details about number order. In ordered lists, it is not possible to continue list numbering automatically from a previous list or to hide numbering of some list items. However, authors can reset the number of a list item by setting its value attribute. Numbering continues from the new value for subsequent list items. For example:

  1. makes this list item number 30.
  2. makes this list item number 40.
  3. makes this list item number 41.

From http://www.w3.org/TR/REC-html40/struct/lists.html

Andy

She has: 88 posts

Joined: Sep 2001

Thank you!

I also found counter info in CSS2 references, but found it more than a bit confusing and I'm not sure how compliant browsers are to CSS2.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.