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"? Ingo -- http://www.satzansatz.de/css.html http://www.dolphinsback.com ______________________________________________________________________ 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/