1. Understanding CSS

Let’s face it: HTML is not exactly a designer’s dream come true. It is imprecise, unpredictable, and not terribly versatile when it comes to presenting the diverse kinds of content that Web designers have come to demand.

Then again, HTML was never intended to deliver high-concept graphic content and multimedia. In fact, it was never really intended to be anything more than a glorified universal word processing language delivered over the Internet—and a pretty limited one at that.

HTML is a markup language that was created to allow authors to define the structure of a document for distribution on a network such as the Web. That is, rather than being designed to set the styles of what is being displayed, it is intended only ...

Get CSS, DHTML, and Ajax: Visual QuickStart Guide, Fourth Edition 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.