On Mar 3, 1:15 pm, alanfluff <alan.c.bris...@googlemail.com> wrote:
> Hi,
>
> I am embarrassed to say I can't find a way to select the third cell in
> each row of a table and add a class to it.
Have you considered using col elements and adding the class to them?
<URL: http://www.w3.org/TR/html401/struct/tables.html#edef-COL >
It is *very* much faster (6x in IE, 200x in Firefox) than a selector
that gets the nth cell of every row. Depends on the size of the
table and DOM complexity of course, it's all relative.
--
Rob