Assume I have a HTML code similar to

....
<div id="aaa">
  ....
  <img src="/images/print/logo.png">
  ....
</div>

The img is the only one inside this <div> element.

I want to shrink this image to 

a) 40% of its current size.
b) a height of 40px (and the width should be resized proportionally)

How can I achieve this with GM?

GM_addStyle("div#aaa.img { height="40%",width="auto" !important; }");

or

GM_addStyle("div.aaa.img { height="40%",width="auto" !important; }");

Does not work
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