On Mon, 07 Apr 2008 23:21:26 +0200 Ingo Chao wrote: > Michael Adams wrote: > > ... > > Then you have four factors involved which should be taken into > > account in the following order: weight, origin, specificity, sort > > order. But you didn't ask about them > > > > > > CSS 2.1:6.4.1 -4 says: > "if two declarations have the same weight, origin and specificity, the > latter specified wins." > > This sounds clear, but ... what exactly is meant by "weight"? > > CSS 2.1:6.4 says: "The CSS cascade assigns a weight to each style > rule. When several rules apply, the one with the greatest weight takes > precedence. By default, rules in author style sheets have more weight > than rules in user style sheets. Precedence is reversed, however, for > !important rules." > > Is "weight" a result of "importance" and "origin"? >
To date the only thing i am aware of that truly adds weight is "!important" and even that can be ignored in some browsers and overruled by a User Style. -- Michael All shall be well, and all shall be well, and all manner of things shall be well - Julian of Norwich 1342 - 1416 ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/