Lesson 10

Understanding the CSS Box Model and Positioning

What You’ll Learn in This Lesson:

  • Image How to conceptualize the CSS box model

  • Image How to change the box model the browser uses

  • Image How to position your elements

  • Image How to control the way elements stack up

  • How to manage the flow of text

In the preceding lesson, we mentioned the CSS box model a few times. ...

Get Sams Teach Yourself HTML, CSS, and JavaScript All in One, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.