I had originally placed a semicolon between the rule; and
!important... which I think makes the !important apply to nothing:
GM_addStyle("body{font-size: 16px; !important;}");
for whatever reason even though I removed it in my reply, it still
shown on my screen as quoted text.
My incorrect statement, what I meant to say that the same exact
selector appended later will over-ride any rules that were defined by
that selector earlier.
It doesn't append rules so much as it appends selectors (that may
contain rules which may over-ride previous rules defined by that
selector).
Calling the selector and containing statements a rule seems all too
common, but strictly incorrect.
And Thank You for the link about specificity! Very interesting to
have a definitive knowledge other than trial and error. It makes
perfect sense given what I've experienced.
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.