I am designing a table with fixed headers based on the codepen above. It works fine until I add a border.
Adding
th, td {border:1px solid red;}
causes the head to widen more than the body and I cannot figure out why this happens.
Can anybody help me?
Sean