On 2011-11-23 11:59 AM, Sam L wrote:
It only appends rules, and it will automatically over-ride rules that
are already defined (the latest rule always has priority)

That statement is incorrect.  Read about "specificity" in CSS:
http://www.w3.org/TR/CSS2/cascade.html#specificity

(The "!important" keyword is just the highest specificity single element. Except for being in the style attribute, rather than in a sheet. Order is the lowest contributing element to specificity.)

> I notice I typed the important keyword wrong ... there should be no semicolon

That also isn't strictly true. There definitely _should_ be, if there's another declaration. With only one it's optional, but "should be no" is going too far in my book.

--
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.

Reply via email to