Introduction

Most people who build websites fall into one of two categories: geeks (like me) who take great pleasure in working with code, and artistic types who think in terms of overall design. Of course, that's a sweeping generalization. To be successful in modern web design, you need an element of both. But most people will be stronger in one field than the other.

If your main strength lies in visualizing an overall design and you find code a bit of a turn-off, learning how to style websites with Cascading Style Sheets (CSS) might seem a daunting task. But it needn't be. . . . Think of CSS as the language of design. The code in a style sheet is simply telling the browser how you want your pages to look. It defines the fonts, colors, and layout ...

Get Getting StartED with CSS 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.