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

Number of list item

From: Dmitry Turin <html60@narod.ru>
Date: Wed, 2 May 2007 19:56:13 +0300
Message-ID: <3728904468.20070502195613@narod.ru>
To: public-html@w3.org

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
Received on Wednesday, 2 May 2007 16:56:25 GMT

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