W3C home > Mailing lists > Public > public-html@w3.org > May 2007

FW: Number of list item

From: Gavin Pearce <gavinp@tbs.uk.com>
Date: Thu, 3 May 2007 10:03:51 +0100
Message-ID: <4BF6895AA1B7D511B64000B0D0789FD50342C1AA@MAILSERVER>
To: "'public-html@w3.org'" <public-html@w3.org>

Always counting up? so -10, -9, -8 etc ???

If doing this I reckon you need to specifiy which way you want it to count
to. So could go from -10 to -100 which is a more locial order counting that
way round in my English head.

- Gavin




-----Original Message-----
From: public-html-request@w3.org [mailto:public-html-request@w3.org]On
Behalf Of Dmitry Turin
Sent: 02 May 2007 17:56
To: public-html@w3.org
Subject: Number of list item



1) Sometimes serial number of list items should begin
from not one, and from not zero,
but from another positive or negative number.
2) Sometimes it's necessary to miss some numbers of list items.

I offer to enter attribute "from" with integer values for <li>,
attribute force to count serial number from own value.

Example below

<ul>
  <li from="-10"> phrase </li>
  <li>            phrase </li>
  <li>            phrase </li>
  <li>            phrase </li>
  <li from="0">   phrase </li>
  <li>            phrase </li>
  <li>            phrase </li>
  <li>            phrase </li>
  <li from="100"> phrase </li>
  <li>            phrase </li>
  <li>            phrase </li>
  <li>            phrase </li>
</ul>

will be displayed so
 
-10. prase
 -9. prase
 -8. prase
 -7. prase
  0. prase
  1. prase
  2. prase
  3. prase
100. prase
101. prase
102. prase
103. prase



Dmitry Turin
http://html6.by.ru
http://sql4.by.ru
http://computer2.by.ru



This message has been scanned for viruses by Viatel MailControl - http://viatel.mailcontrol.com/
Received on Friday, 4 May 2007 18:52:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:15:58 GMT