W3C home > Mailing lists > Public > www-style@w3.org > June 2005

Re: New Selectors

From: Allan Sandfeld Jensen <kde@carewolf.com>
Date: Fri, 17 Jun 2005 15:56:40 +0200
To: www-style@w3.org
Message-Id: <200506171556.41077.kde@carewolf.com>

On Friday 17 June 2005 15:26, Kris@meridian-ds.com wrote:
> Hey all this is my first post and suggestion, so I guess I'm a newb here.
>
> I've been digging into the 2.1 and 3 selectors lately and still can't find
> one that does what I want.  This lead me to believe that many people my
> profit from the idea so here it is.
>
> Psuedo-classes:
> :even-child
> :odd-child
>
You can use :nth-child(odd) and :nth-child(even)

`Allan
Received on Friday, 17 June 2005 13:56:55 GMT

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