2.1. What is CSS Good For?

Recall from Chapter 1, that one of the key advantages of CSS is that it separates the content of a Website from its appearance or presentation. This separation is important because it allows us to create Websites that enable writers and artists to create the information the Website is intended to convey, while leaving the design of the site—how it looks and how it behaves—to designers and programmers.

It follows, then, that CSS would be useful for defining the appearance of a site, but not necessarily for dictating its behavior.

Like many such generalizations, however, this statement turns out to be true only most of the time. Why? Because the dividing line between appearance and behavior is necessarily fuzzy.

For ...

Get HTML Utopia: Designing Without Tables Using 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.