Reputation: 3474
I have set table-layout: fixed
, width and padding for column but real width is higher per 22px than it should be. What can cause this?
Upvotes: 0
Views: 90
Reputation: 201588
You have set the table width to 1000px and cell widths in pixels, too, so that they do not add up to 1000px. Obviously, a browser has to make the cells wider or to ignore the setting on the table as a whole. It is better that you as an author make such a choice, e.g. by simply removing the width setting on the table.
Upvotes: 1