3 ms·
you should remove `display: block` from <table> and add `position: sticky; top: 0;` to <thead>. otherwise the table becomes worthless as soon as the header is
by leeoniya 7y ago
you should remove `display: block` from <table> and add `position: sticky; top: 0;` to <thead>.
otherwise the table becomes worthless as soon as the header is out of view.
- dewey 7y agoFixed, thanks for that! I'm not really a frontend developer and whipped this up during breakfast...as you can see :)