Re: [WSG] Descending Ordered List

2006-05-30 Thread Rik Lomas
According to the W3C Guidelines [1] you can using the counter-increment:The 'counter-increment'
 property
accepts one or more names of counters (identifiers), each one
optionally followed by an integer. The integer indicates by how much the
counter is incremented for every occurrence of the element. The
default increment is 1. Zero and negative integers are allowed.But obviously for a cross browser solution, Thierry's example would be best.[1] http://www.w3.org/TR/CSS21/generate.html#counters
On 30/05/06, Thierry Koblentz [EMAIL PROTECTED] wrote:
 Does anyone know how to make an ordered list descending (10,9,8,7...)? I thought I saw something once on how to do this, but now I cannot locate it. Nor can I find anything via search.Hi Mike,
I don't think you can do that automatically. You'd have to use:olli value=10item 10/lili value=9item 9/lili value=8item 8/li
li value=7item 7/li.../ol---Regards,Thierry | www.TJKDesign.com**
The discussion list forhttp://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help**-- Rik Lomas
http://rikrikrik.com


Re: [WSG] Descending Ordered List

2006-05-30 Thread Mike at Green-Beast.com
Hi Mike,
I don't think you can do that automatically. You'd have to use:
ol
li value=10item 10/li
li value=9item 9/li
li value=8item 8/li
li value=7item 7/li
...
/ol

---
Regards,
Thierry | www.TJKDesign.com

...

Makes sense. Thank you Thierry.

Mike
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Descending Ordered List

2006-05-30 Thread Mike at Green-Beast.com
From: Rik Lomas [EMAIL PROTECTED]

According to the W3C Guidelines [1] you can using the counter-increment:

The 
'counter-increment'http://www.w3.org/TR/CSS21/generate.html#propdef-counter-incrementproperty
accepts one or more names of counters (identifiers), each one
optionally followed by an integer. The integer indicates by how much the
counter is incremented for every occurrence of the element. The default
increment is 1. Zero and negative integers are allowed.

But obviously for a cross browser solution, Thierry's example would be best.

[1] http://www.w3.org/TR/CSS21/generate.html#counters


---

Hello Rik,

Thank you. It seems, unfortunately, I'm back to square one. Assigning values 
as Thierry suggested did work, but the validator didn't like value being 
applied to the list item element. :-(

Sincerely,
Mike Cherim
http://green-beast.com/




**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Descending Ordered List

2006-05-30 Thread Thierry Koblentz
 Thank you. It seems, unfortunately, I'm back to square one. Assigning
 values as Thierry suggested did work, but the validator didn't like
 value being applied to the list item element. :-(

Sorry Mike, I knew the start attribute was deprecated, but didn't know
value was out too.
What about using the DOM to loop through the list items and plug a number in
each one?
http://www.tjkdesign.com/lab/ul.asp

---
Regards,
Thierry | www.TJKDesign.com

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Descending Ordered List

2006-05-30 Thread Mike at Green-Beast.com
From: Thierry Koblentz [EMAIL PROTECTED]
Sorry Mike, I knew the start attribute was deprecated, but didn't know 
value was out too. What about using the DOM to loop through the list items 
and plug a number in each one? http://www.tjkdesign.com/lab/ul.asp;

---

No problem. Now we both know. Thanks Thierry.

Mike 

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**