


    <style>
      .tableFixHead {
        overflow-y: auto; /* make the table scrollable if height is more than 300 px  */
        height: 300px; /* gives an initial height of 200px to the table */
      }
      .tableFixHead thead th {
        position: sticky; /* make the table heads sticky */
        top: 0px; /* table head will be placed from the top of the table and sticks to it */
      }
      tableFixHead  {
        border-collapse: collapse; /* make the table borders collapse to each other */
        width: 85%;
      }
      th,
      td.z   {
        padding: 8px 16px;
        border: 1px solid #ccc;
      }
      th.FixHead   {
        background: #8fadcc;
      }
    </style>