[jQuery] Re: Styling left hand column of table.

2007-11-25 Thread jonhobbs
HI Karl, That is exactly the answer i was looking for. Thank You On Nov 24, 5:49 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi Jon, > > You're almost there! What you want is to add a class to every td that > is the first child of its parent. Using td:first will select only the > very first

[jQuery] Re: Styling left hand column of table.

2007-11-24 Thread Karl Swedberg
Hi Jon, You're almost there! What you want is to add a class to every td that is the first child of its parent. Using td:first will select only the very first td. You need td:first-child ! So, this line ... $(".Grid tbody tr td:first").removeClass("GridMiddleCell"); should change to th