Index: lams_tool_scratchie/web/pages/tblmonitoring/traStudentChoices.jsp =================================================================== diff -u -rb966ece7325840544ba683325f141ac921dca5d1 -rba15b06823380b36eb2a71a4f95a4bef851d311a --- lams_tool_scratchie/web/pages/tblmonitoring/traStudentChoices.jsp (.../traStudentChoices.jsp) (revision b966ece7325840544ba683325f141ac921dca5d1) +++ lams_tool_scratchie/web/pages/tblmonitoring/traStudentChoices.jsp (.../traStudentChoices.jsp) (revision ba15b06823380b36eb2a71a4f95a4bef851d311a) @@ -4,6 +4,30 @@ body { -webkit-overflow-scrolling: touch; } + + /*---- fixed first column ----*/ + table { + position: relative; + } + + thead th { + position: -webkit-sticky; /* for Safari */ + position: sticky; + top: 0; + background: #FFF; + } + + thead th:first-child { + left: 0; + z-index: 1; + } + + tbody th { + position: -webkit-sticky; /* for Safari */ + position: sticky; + left: 0; + background: #FFF; + }