Simon Willison’s Weblog

Items tagged cssaintrocketscience, boxmodel in May

Filters: Month: May × cssaintrocketscience × boxmodel ×

Understanding the Box Model

Today’s tutorial is going to be all theory. The box model is an inevitable part of CSS, and understanding it is critical if you want to do anything remotely interesting. Like most of CSS, it’s a lot simpler than it sounds. Here it is:

[... 626 words]