justuptime.com - monitor your servers & websites

CSS Lists

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

She has: 72 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?

andy206uk's picture
DeveloperModerator

He has: 1,742 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

Andyk

Music Rants News and Reviews | My Photoblog | Blog of a Web Designer
Give a man a fish and you feed him for a day. Teach him to use the Net and he won't bother you for weeks.

She has: 72 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.