A CSS Primer
Although the CSS style sheet mechanism was originally designed for use with HTML, it's just as good at formatting XML documents for presentation purposes. As a presentation style language, CSS defines style constructs like fonts, colors, and positioning, which are used to describe the presentation side of content-based data, such as the data stored in XML documents. One of the important ideas in CSS is that you can create a style sheet once for a given class of documents, and then you can display any document that belongs to that class using the style sheet. This approach allows you to isolate the presentation properties of a set of documents in a single location, making it much easier to maintain the documents (at least from a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access