Chris Rockwell wrote:
> That is why it works that way, yes. > > The engine sees two widths, both with the same weight, origin and > specificity; the last one to be declared will win. > > If instead, you did: > > div.c1 {width:20em} > .c2 {width:30em} > > The width would be 20em, because div.c1 is more specific. Yes, the last example is clear; it was only the 'class="c1 c2"' about which I was uncertain. Philip Taylor ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] 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/