idea about pseudo-selectors

I had an idea for something like this... from what I see in the CSS3 
working draft, there's |:nth-child| and :nth-child-of-type etc, but how 
would one, say cover odds and evens?

A lot of people, esp. in tabular data, want to have every second row 
coloured a different way. The way we do it is assigning a class to every 
second row. Or using javascript/some other scripting method to do it?

What about an |:odd-child|, |:odd-child-of-type|, |:even-child|, and 
|:even-child-of-type|?

Wouldn't those be awesome pseudo-selectors?

-- 

*Guan Ming Teo*
Web Developer

Highway 1 Internet Solutions

Highway 1 Internet Solutions
Level 2, 33 Richardson St.
WEST PERTH  WA  6005
Australia

PO Box 1910
WEST PERTH  WA  6872

P 08 9488 8999
F 08 9488 8900

http://www.highway1.com.au/

Received on Tuesday, 8 August 2006 10:18:50 UTC