XML technologies / CSS / Advanced websites with CSS / Adding some colour / Colours in CSS
(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)
Style rules can assign colours to the following elements on a web page:
Backgrounds
Borders
Text
Links
Outlines
The last item is listed only for completeness. Most modern browsers no longer support outlines, so we will not discuss them. A detailed description of all properties is available in the CSS property reference.
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