I have a simple scenario of basic HTML
and CSS
for which the bounding box measurements don't add up width-wise.
The expected result is obtained by setting the column width to 324 px
although 320 px
seems to be the proper fit. In the following JSFiddle there's a single property value to alter to see the expected result v.s. the desired width.
Expected result (wrong property value)
div.container div.column {
width: 324px;
}
Bad result (desired property value)
div.container div.column {
width: 320px;
}
Why I think 320 px
should be the containing width of my two buttons:
320 px
(column) = 155 px
(button) + 10px
(margin) + 155px
(button)
I'm sure the issue is on my side of comprehension, can anyone explain why this is going on?