Fixed a Row in HTML table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • suchi123
    New Member
    • Jul 2008
    • 2

    Fixed a Row in HTML table

    Hi,
    Could anyone tell me how I can implement a table which is of a fixed height, but which can have a vertical scroll bar and when I scroll , the header columns stay fixed/displayed.

    Thanks
    Suchitra
  • surajhs
    New Member
    • Jul 2008
    • 13

    #2
    [HTML]<table width="100%" border="0" cellspacing="0" cellpadding="0" >
    <tr >
    <td ><div style="height:5 0px;width:150px ;overflow:auto; ">dgfdgfdfgdfgd fgdfgdfgdfgdfgd ff
    <br>dgfgdfgdfgx cvxcvxcsxdfsdff sdfsd<br>fgdfg</div></td>

    </tr>

    </table>[/HTML]


    Do some thing like this

    Regards,
    Suraj
    Last edited by gits; Jul 21 '08, 04:59 PM. Reason: added code tags

    Comment

    Working...