Chapter 11. Introducing CSS

Back in the dark ages of the Web, the favorite sport of designers was to bemoan their lack of control over the appearance of Web pages. Suddenly, their most basic assumptions about their abilities were called into question. They were unable to precisely position objects on Web pages, and they had little control over the look and specifications of type on those pages. In fact, the whole concept of a “Web page” was annoyingly fuzzy; in the print world, a designer always knows the dimensions of the piece of paper for which they’re designing. But on the Web, there are no fixed page sizes.

The Cascading Style Sheets specifications from the World Wide Web Consortium (aka the W3C, which develops Internet standards; ...

Get JavaScript and Ajax for the Web, Sixth Edition: Visual QuickStart Guide 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.