Styling the Document
Because we don’t have a lot in the way of specific guidance, we’re mostly going to have to make things up as we go. It’s a good thing we have a lot of practice in that arena. We’ll start out by setting some basic background and color styles, fiddling with the margins on the various sections of the document, and seeing where the results lead us.
Separation Anxiety
We’re going for a purple-colored page as decided earlier, but it would be good to keep black text on a light background. That calls for giving the “wrappers” a lighter variant of the document’s background color.
First we need to remove the medium-gray borders that were used in Figure 10.1 to help us understand the page’s structure. To get a wine-colored background, ...
Get Eric Meyer on CSS: Mastering the Language of Web Design 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.