In the following table:
I've used the following to lock/freeze the two headers:
<style>
.tableFixHead { overflow: auto; height: 100px; }
.tableFixHead thead th { position: sticky; top: 0; z-index: 1; }
</style>
However, when I scroll down, the two headers overlap:
:-)
Here's a codepen for the above example:
https://codepen.io/dharmatech/pen/PopyMzv
Question
Is there a way to get these to not overlap?
Thanks!
Note: I included the tag asp.net-core since this is using the default CSS that comes with it and this is for an ASP.NET Core site.

