Forum Moderators: not2easy
Look at the drawing in [w3.org...]
Padding sits between the content and the border, margin sits outside of that. This is regardless of what the element is.
Now the content has a size, it the standards model (read: IE users beware) this is the size you set with e.g. width.
The padding has a thickness, as do the border and the margin.
So you can make an element have a size, place a padding around it (gets the background color as needed), place a border around that, and have a margin around the border.
E.g.:
#id {
width: 100px;
padding: 10px;
border: 1px solid black;
margin: 6px 0 20px 0;
}
Hope this helps, provide some code if you need more help.