XML technologies / CSS / Advanced websites with CSS / Text effects and cascading / Cascading and inheritance in CSS / Origin
(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)
The origin principle resolves conflicts between rules declared by a page’s author and those a user applies through browser preferences or a local stylesheet. Author rules generally take precedence. There is one important exception: when competing style properties are marked with the value !important, the origin principle is reversed. User-defined settings then take precedence over page-specific ones.
When two or more competing rules apply to an element, the rule with higher priority by origin is used, provided their weights do not differ.
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