Mon, 01 Aug 2011 23:22:51 +0200, /Tony Mechelynck/:

You mentioned the !important modifier, but don't forget the :not()
pseudo-class. For instance you could have used something like (untested)

        .important:not(:hover):not(.other)
          { color:        inherit    !important
          }
        .important
          { font-weight:  bold
          }

Yeah, but that requires one to study much more of the author style sheet in order come up with the more specific selector, instead of just using the one given in the original author rule. It won't prevent from overriding similar rules the author adds in a later stage, also.

--
Stanimir
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to