Thanks! The lack of something else wrapping each <td>s content was indeed the problem.
On Dec 4, 1:34 pm, "Charlie Griefer" <[EMAIL PROTECTED]> wrote: > On Thu, Dec 4, 2008 at 10:28 AM, Charlie Griefer > <[EMAIL PROTECTED]>wrote: > > > > > On Thu, Dec 4, 2008 at 9:56 AM, clorentzen <[EMAIL PROTECTED]>wrote: > > >> I'm trying to hide all the contents from <td>s within a table *except* > >> for the first <td> in each <tr>... I don't want to hide the <td>s, > >> just their contents, but I'm having trouble finding the correct > >> selector(s) to accomplish this. > > >> <table> > >> <tr> > >> <td>one</td> > >> <td>two</td> > >> <td>three</td> > >> </tr> > >> <tr> > >> <td>four</td> > >> <td>five</td> > >> <td>six</td> > >> </tr> > >> </table> > > >> I'd like to hide the actual *content* "two", "three", "five", and > >> "six" -- for as many tds there are after the first one in each row, > >> and for as many rows as there are in the table. > > > $(function() { > > $('tr > td:not(:first-child)').css({visibility:'hidden'}); > > }); > > Altho, to MorningZ's point... that's affecting the tds themselves, and not > specifically the content. > > -- > I have failed as much as I have succeeded. But I love my life. I love my > wife. And I wish you my kind of success.