Chapter 12. CSS

Cascading Style Sheets (CSS) refers to a World Wide Web Consortium (W3C) specification that, in the W3C's own words, provides "a simple mechanism for adding style (e.g., fonts, colors, spacing) to Web documents" (http://www.w3.org/Style/CSS/). The concept is simple, but as any web developer will tell you, CSS can be a Marlboro-smokin', tumbleweed-kickin', maverick cowboy when it comes to corralling HTML. In other words, CSS is rugged and powerful, and does a great job at making HTML behave. Obviously, this is a good thing. But CSS can also be a bit hard to work with, which makes sense when you're dealing with a stubbly, saddle-sore buckaroo.

In the world of HTML, the trouble with CSS is due to the wide variety of browsers (and versions ...

Get Foundation Flash CS4 for Designers 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.