How to make html table vertically scrollable

前端 未结 9 528
北荒
北荒 2020-12-24 10:39

see jsbin

I have to make my html table vertically scrollable.
I have used below code on tbody tag but its doesn\'t work for me

 <         


        
9条回答
  •  既然无缘
    2020-12-24 11:00

    This is a work around.

    http://jsfiddle.net/JJV59/2/

    [EDIT]

    
    
    
    
    JS Bin
    
    
    
    
    
    
    Time Slot   Patient Name
    8:00AM 0 Name 1
    15
    30
    45
    9:00AM 0
    15
    30
    45
    10:00AM 0
    15
    30
    45
    11:00AM 0
    15
    30
    45
    12:00PM 0
    15
    30
    45
    01:00PM 0
    15
    30
    45
    02:00PM 0
    15
    30
    45
    03:00PM 0
    15
    30
    45
    04:00PM 0
    15
    30
    45
    05:00PM 0
    15
    30
    45
    06:00PM 0
    15
    30
    45
    07:00PM 0
    15
    30
    45
    08:00PM 0

提交回复
热议问题