Styling the Document

Because we don’t have to mess around with the markup, we’ll get right to laying out the document itself. As is typical for our projects, we’ll work our way down through the document, establishing the overarching styles first and then drilling down to the details. Where better to start than with the document’s body?

Styling the Body

The text of the document indicates a very dynamic image, so we’ll use reddish tones to reinforce that idea. We don’t want to go into bright reds, though, because those can be very hard on the eyes when displayed on a computer monitor. We’ll settle on deep, rich reds and reddish tans for the design.

<head>
<title>Pretentious Web Studios</title>
<style type="text/css" media="all">
body {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.