Padding, border and margin on the items

padding 8pt
border 4pt
margin 6pt

The container has a box of its own; the items sit inside its padding

one
two
three

Margins on the container narrow the line the items share

one
two

A declared width is the content box; padding and border sit outside it

width 100pt
width 100pt