So you're saying you need to use js to sync the two tables so that you can use different styling for the header? Sounds like you should be updating your html markup instead.
Header cells should be using th tags.
<table>
   <thead>
      <tr>
           <th>Header1</th><th>Header2</th>
       </tr>
   </thead>
   <tbody>
      <tr>
         <td>Cell1</td><td>Cell2</td>
       </tr>
       .... etc...
   </tbody>
</table>



Alain Roger wrote:


On Wed, Mar 4, 2009 at 11:12 PM, donb <falconwatc...@comcast.net <mailto:falconwatc...@comcast.net>> wrote:


    Is thre some reason you can't do it with simple CSS directives?
    Define a Class for each <td> as appropriate and use the same class in
    the td of both tables. No jQuery or javascript needed at all.


yes, because i have a different CSS code for headers and standard cells :-(

Reply via email to