After scrolling, I am attempting to position the thead
element. However, when changing the position from static
to absolute
, the element becomes offset with added margin
and padding
. This has led me to try using CSS to address the issue:
To resolve this, I have utilized the following CSS:
<thead id='tableHeader' style="margin:0;border:0;padding:0;">
</thead>
My goal is to eliminate the margin and padding in order to maintain the original dimensions of the table header (1871 * 37).