I have a 3-column table where I would like to force the widths of the cells to be 200px, 100px, 100px.
I set border-collapse: collapse; table-layout: fixed; width: 400px and also took into the account the border-width: 1px and padding-left: 1px; padding-right: 1px of each cell when calculating the width of the columns.
However, I do not understand why the outermost right cell should have the same width as the centre cell. Technically, if every cell owns the border on their left, then the last cell would take the border on the left, PLUS the one on the right (since it is the last cell). Why is it not 96px then?
Can someone enlighten me please? (If it makes a difference, I was doing this on CK Editor 4.)
1st column2nd column3rd column