Skip to content
Loading

Add below to css

  1. table thead {  
  2.   position: fixed;  
  3. }  
 
+1
  • Madan Shekar
    0
     
     
     
    Fixed Header Scrolling Table
    #NamePoints
    1Mike Adams23
    2Holly Galivan44
    3Mary Shea86
    4Jim Adams23
    5Henry Galivan44
    6Bob Shea26
    7Andy Parks56
    8Bob Skelly96
    9William Defoe13
    10Will Tripp16
    11Bill Champion44
    12Lastly Jane6
     
     
     
     
     
    if it help mark as ans 
    0
  • Vivek Kumar
    0
    Hi,
    Please have a look to below link for your reference.
     
    https://stackoverflow.com/questions/30635274/how-to-make-table-header-fixed-in-html-without-using-thead-tag 
    0
  • Vivek Kumar
    0
    Hi Arasaraja,
    Can you try below link? you have to just play with CSS and you will get what you want 
     
    http://jsfiddle.net/gc6m0g3L/ 
    0
  • Vivek Kumar
    0
    You can try with :first-child Selector property in CSS
     
    https://stackoverflow.com/questions/2197133/select-first-list-in-table-css-first-child
     
    https://www.w3schools.com/cssref/sel_firstchild.asp 
    0