© Andy Budd and Emil Bjorklund 2016

Andy Budd and Emil Björklund, CSS Mastery, 10.1007/978-1-4302-5864-3_3

3. Visual Formatting Model Overview

Andy Budd and Emil Björklund2

(1)Brighton, UK

(2)Malmo, Sweden

Some of the most important CSS concepts to grasp are floating, positioning, and the box model. These concepts control the way elements are arranged and displayed on a page and form the basis of many layout techniques. More recently, new standards specifically designed to control layout have been introduced, and we will look at these individually in forthcoming chapters. However, the concepts that you learn in this chapter will help you fully grasp the intricacies of the box model, the difference between absolute and relative positioning, and how ...

Get CSS Mastery, 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.