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.
This discussion should really never have started, as it is very easy to check from CSS specifications or tutorials what !important means. To fully understand its meaning, you need to understand the cascade in CSS, which is not a trivial thing at all - but the role of !important in it is well-defined.
On the practical side, which is what we should be discussing in this list, !important is often used just to give a CSS rule more "power" in a context where different rules apply to an element. As a rule of thumb, !important should be avoided because it is so powerful. Instead, more specific selectors should be used.
Yucca ______________________________________________________________________ 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/
