Hello,

I'm trying to select every odd  item in a list, but not the first two items.

I've tried using the nth-child selector, which is fine at picking out
the nth-child, but I can't get the 2n+2 child to be selected:

        stripes("#search-results div:odd"); // is ok
        stripes("#search-results div:nth-child(2)"); // works

but

        stripes("#search-results div:nth-child(2n+2)"); // doesn't.

Am I missing something about the CSS3 selector syntax?

Thanks,

Dan.

-- 
Daniel Eastwell

Portfolio and articles:
http://www.thoughtballoon.co.uk

Blog:
http://www.thoughtballoon.co.uk/blog

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to