Leading lines

1

2

3

4

111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

table1 col header table1 col header
table1 data1 with some extra long text. I would like to be able to "tweak" an HTML table's presentation to add a single feature: when scrolling down through the page so that the table is on the screen but the header rows are off-screen, I would like the headers to remain visible at the top of the viewing area. table1 data1
table1 data2 table1 data2
table1 data3 table1 data3
table1 data4 table1 data4
table1 data5 table1 data5
table1 data6 table1 data6
table1 data7 table1 data7
table1 data8 table1 data8
table1 data9 table1 data9
table1 data10 table1 data10

Between lines

1

2

3

4

t2 col header t2 col header
t2 data1 t2 data1
t2 data2 t2 data2
t2 data3 t2 data3
t2 data4 t2 data4
t2 data5 t2 data5
t2 data6 t2 data6
t2 data7 t2 data7
t2 data8 t2 data8
t2 data9 t2 data9
t2 data10 t2 data10

Trailing lines...

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60