Chapter 1The Problem with CSS

I’m a visionary. I’m ahead of my time. Trouble is, I’m only about an hour and a half ahead.

George Carlin

The problem with CSS is that CSS is too hard.

There. We got that out of the way easily enough, didn’t we? You can skip to Chapter 2 now.

Okay, maybe that was a little unfair. For the most part, Cascading Style Sheets (CSS) technology is beautiful in its elegance and simplicity. It gives web designers a language in which to describe a consistent visual treatment that can be applied to a single page, an entire site, or even a whole bunch of sites. Yes, CSS was ahead of its time when it was first created, but it didn’t stay that way for long.

As CSS was conceived in an age when the design of most web sites still ...

Get Everything You Know about CSS is Wrong! now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.