`table-layout: fixed`: how does it work?
I have a table that's built by our platform that uses
The confusing part is using relative units like
table-layout: fixed. I'm trying to shrink some of the columns so what I'm doing is using width: 40px on some of the column cells. The issue is that while the cells shrink, they don't actually become 40px. Even setting a max-width: 40px does nothing. (and no, it's not getting overridden).The confusing part is using relative units like
% or vw does change the cells widths down to that actual size I set it as far as I can tell. Why is that?