XML technologies / CSS / Advanced websites with CSS / An initial overview / Types of CSS rules
(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)
Several aspects matter when categorising CSS rules.
First, we need to establish which properties CSS rules can define. They can determine element colours and positions in the browser, among other things.
Second, we need to describe the HTML elements to which CSS rules can be assigned and how specific elements can be targeted.
Third, we must consider where style rules may be used.
Let us first look briefly at these categories and gain an overview of CSS rules before exploring the details.
Copyright © 2006 of the German translation, dpunkt.verlag GmbH
You may print the online version for your private use.
Otherwise, this chapter from “CSS − Anspruchsvolle Websites mit Cascading Stylesheets” is subject to the same conditions as the bound edition: the work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
dpunkt.verlag GmbH, Ringstraße 19, 69115 Heidelberg
back to top