Two questions about the GM CSS syntax:

1.) Do I have to put a semi-colon between the attribute and the "!important"?

In other words is

GM_addStyle("#header { margin-bottom: 5px; !important; }"); 

and

GM_addStyle("#header { margin-bottom: 5px !important; }"); 

the same?

2.) Do I have to put an !important after every attribute if I want to make them 
all important
or does one final !important apply to ALL previous attributes in the same line?

In other words is:

GM_addStyle(".text { font-size: 16px; line-height: 18px; !important; }"); 

and

GM_addStyle(".text { font-size: 16px; !important; line-height: 18px; 
!important; }"); 

the same?

Ben





-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to