W3C home > Mailing lists > Public > www-html@w3.org > April 2001

Re: Simple Question: Backwards Lists

From: Tim Bagot <tsb-w3-html-0002@earth.li>
Date: Mon, 16 Apr 2001 21:01:20 +0000 (UTC)
To: <www-html@w3.org>
Message-ID: <Pine.LNX.4.33.0104162047500.13905-100000@windle.hack>
At 2001-04-16T21:00+0100, Sean B. Palmer wrote:-

> Is there any way using XHTML 1.1 and CSS1/2/3 that you can get an <ol>
> to number in reverse order? e.g.:-
>
>      5. List item
>      4. List item
>      3. List item
>      2. List item
>      1. List item

It's nearly possible in CSS2, in that you can have a negative counter
increment and a non-zero initial value. What you cannot currently do is
count the number of items in the list to set the initial value.

Tim Bagot
Received on Monday, 16 April 2001 17:01:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:48 GMT