Forum Moderators: not2easy

Message Too Old, No Replies

CHALLENGE - Binding detached THEAD AND TBODY

Is there a solution for binding the THEAD AND TBODY of two seperate tables?

         

justinhambleton

8:23 pm on Aug 18, 2005 (gmt 0)

10+ Year Member



I have two seperate tables, one with only the thead and the other, which is in an iframe, has only the tbody. Is there a technique for binding these two detached tables together so that the columns in each line up without having to specify specific widths? The iframe is needed for technical reasons.

Let me know if you need more explanation. Any solutions would be greatly appreciated!

garann

10:13 pm on Aug 18, 2005 (gmt 0)

10+ Year Member



I have a Javascript that's doing this. It's pretty ugly. It looks at the width of the columns in the body and sets the width of each header cell accordingly. I don't know another way to do it. (Wish I did...)

bedlam

6:34 pm on Aug 20, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Maybe I don't have enough details here, but wouldn't it be simpler to just put the <thead> into the iframe too?

-B