CSS Box model

This is how padding, margins, borders etc, work for block elements in CSS:

(Image courtesy of Felix.leg/Wikimedia)
Using CSS with XHTML, slide 18 of 22