Delving Deeper into CSS2

Cascading Style Sheets can be used for a whole lot more than just adding color or underlines to a section of text. They can be used for positioning elements on the page, adding borders, specifying properties that were previously relegated to desktop publishing, such as leading and kerning, or even to control how a page is read aloud by audio applications. Let's take a look at some of these more advanced features.

First things first: Where does the “Cascading” part of Cascading Style Sheets come from?

Cascading Style Sheets can be extraordinarily useful based on the fact that a single style sheet can be applied to multiple documents. For instance, we could set up an entire Web site using a style sheet, and when we wanted ...

Get XML and Java™ from scratch 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.