The CSS box model lies behind everything you do in CSS. Every element is defined by a rectangular box that encloses that element. Understanding how the box model works is a key to understanding CSS and having greater control over your layout and presentation. . . . .In nutshell, the box model in CSS describes the boxes which are being generated for HTML-elements. ~ Steven Bradley ~
Details covered in the article include:
- What is the CSS Box Model?
- Differences Between Block Boxes and Inline Boxes
- Floats, Positioning, and the Normal Document Flow
- Calculating the Widths and Heights of Boxes
- Issues with IE6 and the Box Model
Read CSS Box Model: The Foundation For Improving Your CSS and you will learn the tips and techniques for working with the CSS box model.
Additional Resources for Understanding the CSS Box Model
- Interactive CSS Box Model Demo
- The Box Model
- The CSS Box Model by Chris Coyier
- CSS Box Model by W3Schools
- Escaping the Box Model
- <!Doctype html> & IE Box Model by Barry Carlson
If you are using Expression Web, you will see an example of the css box model reference in the Modify Style or New Style Dialog Box when you select the Box category.