Pindahkan meja tfoot di atas

<table>
  <thead>...</thead>
  <tfoot style="display: table-row-group;">...</tfoot>
  <tbody>...</tbody>
</table>
hirohito