Re: Number of list item

Good day.
Excuse me for a long break.

>Isn't this exactly the purpose of "start" (for OL)
and "value" (for LI) ?

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

I think, marking-up by property 'counter-increment' is sophisticated
(http://www.w3.org/TR/css3-content#counters).
Compare, for example, how you make arithmetical or geometric progression in MS Excel !

I try to clarify my proposal in examples.

Code:                                      Rendering:

<li from="-10">a</li>                      -10. a
<li from="-11">b</li>                      -11. b
<li>c</li>                                 -12. c
<li>d</li>                                 -13. d
<li>e</li>                                 -14. e

<li from="3">a</li>                          3. a
<li from="6">b</li>                          6. b
<li>c</li>                                   9. c
<li>d</li>                                  12. d
<li>e</li>                                  15. e

<li from="3">a</li>                          3. a
<li from="6">b</li>                          6. b
<li>c</li>                                   9. c
<li value="11">d</li>                       11. d
<li>e</li>                                  15. e

<li from="2">a</li>                          2. a
<li from="4">b</li>                          4. b
<li from="8">c</li>                          8. c
<li>d</li>                                  16. d
<li>e</li>                                  32. e

Attribute "value" don't change parameters of sequence,
it change number of only one list item.


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

Received on Friday, 18 May 2007 13:02:59 UTC