Anthony Lieuallen is right. This is basic CSS and following some tutorials
will help you a lot: http://www.w3schools.com/html/ &
http://www.w3schools.com/css/ and finally http://www.w3schools.com/js/
To answer your question:
GM_addStyle("div.aaa.bbb { display: none !important; }");
On Wednesday, October 2, 2013 5:41:36 PM UTC+2, Ben wrote:
>
> Assume I have the following HTML code (mind the blank inside!):
>
> <div class="aaa bbb">
> ...
> </div>
>
> How can I assign a new GM CSS statement to this div element?
> The following ("as usual") does NOT work:
>
> GM_addStyle("div#aaa bbb { display: none !important; }");
>
> Thank you
> 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.