Thanks everyone for the responses, (including a couple of private ones)
particularly those pointing me to useful articles etc.
I'm now enlightened. ;)
Much appreciated.
Cheers,
David.
__
css-discuss
Really? No one knows?
I tried googling it and seeking it out on w3schools, but can't seem to find the
!important thing specifically. Just finds lots of (unhelpful) instances of the
word important. (Search engines ignore punctuation supposedly).
David
On 18/04/2012, at 6:03 AM, David Thorp
On Apr 19, 2012, at 4:39 PM, David Thorp wrote:
Really? No one knows?
Or is it that people have been busy today and haven't had time to respond ?
I tried googling it and seeking it out on w3schools, but can't seem to find
the !important thing specifically. Just finds lots of (unhelpful)
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
To follow up with what others have shared regarding !important, one of the
major reasons you see !important in these major corporate websites is
Internet Explorer. Internet Explorer 7 will ignore !important, while other
browsers will not. So often, the all other browsers property is used with
2012-04-19 16:12, Paceaux wrote:
one of the major reasons you see !important in these major corporate websites
is Internet Explorer.
Internet Explorer 7 will ignore !important,
No, it does not. It has some bugs in its support, but it would be all
wrong to say that IE 7 ignores !important.
Greetings all...
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?
Thanks!
David.
__
css-discuss