Understanding the box model is extremely important when dealing with Cascading Style Sheets. Remember:
- Paddings are added to the overall size
- Borders are added to the overall size
Check out the excellent Interactive CSS Box Model Demo (Flash) which illustrates the box model.
★