Home › Forums › CSS › Stylized html table with vertical scroll inside tbody › Reply To: Stylized html table with vertical scroll inside tbody
for starters you could apply
box-sizing: border-box to all elements.
width: 100% to the
width: 20% to the
tbody td, thead th.
as for the
/* minus scroll bar width */ part, you would need more than that, because mac os and windows (as well as linux probably) behaves differently regarding scrollbar width. basically mac os doesn’t include it, if there’s a scrollbar then it’s on top of everything and fades in/out when scrolling