Re: Reversing list order

Is that true this could be achieve by counter-increment: with -1 in CSS2 
already?

ol { counter-reset: item}
li:before { content: counter(item) ". "; counter-increment: item -1; }
?


Jim Dabell wrote:

>[Originally found on www-html]
>
>On Monday 17 March 2003 5:13 pm, Joshua Clinard wrote:
>  
>
>>Please include an option to specify that items in an ordered list will
>>appear in reverse order in the next working draft. I was thinking that
>>something similar to the following would work well. I am sure others would
>>agree that this is a needed option.
>>    
>>
>
>I agree.  Consider html mail clients, reversing the order of messages would be 
>a one-liner client-side script, instead of a round-trip to the server.  Could 
>this be added to the list module easily?
>
>
>  
>
>>ul { list-order: reverse; }
>>    
>>
>
>I would prefer { list-order: reversed }, although applying it to an <ol> 
>element would be more consistent than applying it to a <ul> element..
>
>
>  
>
ul ??? ul stand for "Unorder List". How can an Unorder List has reverse 
order?

Received on Monday, 17 March 2003 17:48:33 UTC