O'Reilly logo

InterACT with Web Standards: A holistic approach to web design by Denise Jacobs, Glenda Sims, Christopher Schmitt, Chris Mills, Leslie Jensen-Inman, Lars Gunther, Derek Featherstone, Virginia DeBolt, Erin Anderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. Whitespace

by Chris Mills

Now you have a good understanding of how to mark up and add meaning and style to your headings and paragraphs, let’s look at how to control the space between your different pieces of content. This might sound trivial, but when designing a page this is just as important as the content itself. Obviously you need to think carefully about your site’s content—so, your navigation menu, heading structure, and writing style, etc. create a usable, comfortable user experience—but even the best content in the world will be horrible to sift through if it is all jammed together and crammed into a small space!

In this chapter we will look at how to use CSS to control your whitespace. I will give you a solid understanding ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required