Login | Register | FAQ
Anonymous

Html table fixed headers

+ Post a reply

2 posts Page 1 of 1


Html table fixed headers

by suvis10@hotmail.com » Mon Aug 25, 2014 3:50 pm

HI All

I have created a large html dynamic table using jquery .
Now my query is here , How to make a fixed html table header while scrolling .

can any one please hepl me how to solve ??
User avatar

suvis10@hotmail.com

  • Posts: 1
  • Joined: Mon Aug 25, 2014 3:45 pm

Re: Html table fixed headers

by XainPro » Sat Sep 20, 2014 9:26 am

there are lot's of methods to do that would you like to share your code ?

read the thead maybe this would solve your problem do it like this

<table>
<thead>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
</thead>
<tfoot>
<tr>
<td>Sum</td>
<td>$180</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
</tbody>
User avatar

XainPro

  • Posts: 3933
  • Joined: Fri Feb 17, 2012 8:10 pm


+ Post a reply

Page 1 of 1