While i do understand the overall CSS box model in theory like padding, border, margin, my understanding is restricted to this individual parts.
I often gets confuse
The box consists of 4 sizes: outer to inner:
border: or border-width:width: or max-width:An image for illustration:

A floated element takes margin into account, so if you have
#element { margin-left: 100px; float: left; }
it will float left, but will have a 100px margin from the left side.