Hi Karl

That's excellent, works a treat, thanks!

I tried :eq(0) and :nth(0) Selects the Nth element from the matched
element set

from

http://docs.jquery.com/Selectors#Custom_Selectors_2

without luck.

I thought it was possible though and of course the simple nth-child
does the trick. I was close with :nth haha.

I'm surprised both textAlign and text-align work as .css() properties.
That is really developer friendly, sensational.

jQuery is the best thing since sliced bread. Mr Resig and colleagues
are gods!

On May 8, 11:10 am, pd <[EMAIL PROTECTED]> wrote:
> Hello
>
> I've looked up
>
> http://docs.jquery.com/Selectors
>
> and alas I can't determine if there is a way to select the x td of all
> rows of a table.
>
> The use case is that i have a table for a forum and I'd like to center
> text-align the 'Topics' and 'Replies' totals columns.
>
> Thanks
> pd

Reply via email to