> > Every now and then, when I'm reading other peoples'/companies' css code,
> i see this "!important" thing added to the end of some of the lines in css.
> >
> > What does it do/change?
>

Hiya David,

The !important flag, when appended to a CSS property, makes the declaration
take precedence over all property declarations without it.

The W3 specification:
http://www.w3.org/TR/CSS21/cascade.html#important-rules

As an aside, w3schools, despite googling well, is a very vague and
sometimes plain wrong resource. I generally include the string 'mdn


-- 
Regards,
Barney

+44 7429177278
______________________________________________________________________
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/

Reply via email to