Paul, I appreciate your help but the reason I want to use jQuery is because I don't have access to the source. I'm trying to style a SharePoint site and many of these tags are auto-generated so I'm limited as to what I can and cannot directly access via a class or id tag. So although I would normally use your solution because I cannot access that particular tag I need to do some kind of DOM traversal.
Also the reason I'm using jQuery is oft-times when I've tried to embed a script tag in a SharePoint site the code just doesn't run for some arcane security reason I'm not yet aware of. It seems jQuery does things in a way that is more accessible or palatable to SharePoint. Guy On Dec 11, 12:56 pm, Paul Mills <[EMAIL PROTECTED]> wrote: > Hi, > > Give the outer table a unique id such as id="outer" > > then use a css style to set bthe border > #outer {border:1px solid red;} > > Not sure why you want to use jQuery? > > Paul > > On Dec 11, 5:13 pm, Guy <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I'm having a dilemma where I need to style the table which encloses a > > table with a row which has a style attached to it. > > > The source looks like this. > > > <table> > > <tbody> > > <tr> > > <td> > > <table> > > <tbody> > > <tr class="myClass"> > > etc. > > > I want to be able to directly access the first table tag to style the > > entire table with a border. Is there an easy way to do this in jQuery? > > > Thanks, > > > Guy Davis- Hide quoted text - > > - Show quoted text -