On 28/12/08 22:21, Felix Miata wrote: > On 2008/12/28 22:16 (GMT) Benjamin Hawkes-Lewis composed: > >> On 28/12/08 21:41, Tim Arnold wrote: > >>> Making styles either more specific, or adding the "!important" modifier will >>> also help in many of these situations > >> !important might appear to help, but it has the regrettable side effect >> of overriding user stylesheets: > >> http://www.w3.org/TR/CSS21/cascade.html#important-rules > > Read 2nd paragraph, 2nd sentence, 2nd clause again. If it wasn't for > !important, user stylesheets would be virtually useless.
Sorry. Looks like I should have been citing CSS1: http://dbaron.org/css/user/cascade#origin Another problem with using !important is you end up in arms race with people styling widgets who will then use !important themselves. -- Benjamin Hawkes-Lewis ______________________________________________________________________ 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/
