On Feb 5, 7:57 pm, Snef <[EMAIL PROTECTED]> wrote:
> Karl,
>
> Again, many thanks. Only just one question...
>
> I have used your one-liner like this:
>
> $("table tr:nth-child(even)").css("background", "#cccccc");
>
> I played around with the :not(:first) to eliminate the first row of
> each table but i do not get it working. Is this possible to use this,
> or is it better to just change all the firstrows after yoour one-
> liner?
> (at the end, i can use a special classname for the first row, but I'm
> curious to know if it can work without it!)

Consider putting your header rows in a thead element, then use:

   $("tbody ...


--
Rob

Reply via email to