W3C home > Mailing lists > Public > www-style@w3.org > March 2003

Re: Reversing list order

From: David Woolley <david@djwhome.demon.co.uk>
Date: Tue, 18 Mar 2003 22:07:14 +0000 (GMT)
Message-Id: <200303182207.h2IM7EM13664@djwhome.demon.co.uk>
To: www-style@w3.org

> In my original message, <ul> should have been <ol>. Sorry for the
* confusion. The reason I posted this message, is because I believe there
* is no way using current xhtml standards to have items in a list to be
* numbered in reverse order, and I need this capability.

See http://www.w3.org/TR/REC-CSS2/generate.html#counters

The only thing this doesn't do is count the number of items, but that
introduces the back-tracking/look ahead issues.

Note, though that this is not using HTML or XHTML; it is using CSS, as
you did, in your example.  If the numbers have semantic significance,
you want to follow the "Against 'start' and 'value' attributes" thread
on the www-html list.

(The original for this may be pending moderation, as an unsubscribed
posting.  The behaviour wanted was for the numbers to be reversed but
the items not.)
Received on Tuesday, 18 March 2003 17:07:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:20 GMT