© Andy Budd and Emil Bjorklund 2016

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

6. Content Layout

Andy Budd and Emil Björklund2

(1)Brighton, UK

(2)Malmo, Sweden

A web page, at the most basic level, is made up of different blocks of content: headings, paragraphs, links, lists, images, videos, etc. These elements can be grouped together thematically; a headline, some text, and an image making up a news story. By controlling the position, size, order, and spacing of the items inside each component, we can better convey their function and meaning.

This content is often further grouped into the layout of the page as a whole. We are going to look at how we can systematically lay out whole pages in the next chapter. In this chapter, ...

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.