On 08/22/2011 04:25 PM, ddjen11 wrote:
i dont quite understand the tag " _background-image:", its a
transparent logo image that overlays a white background
image(specified in "background-image" above it).
"_background-image" is an Internet Explorer 6 hack. The underscore at
the beginning makes it an incorrect CSS rule and browsers ignore it,
except for IE6, which accepts it. So it's basically a way to use a
different style for IE6 -- in this case, a different background image.
my goal is to replace
the logo here. what will be the best way to do it? I tried adding a
"div.yuhead-logo.h2" style replacing bg image but that did not work...
"div.yuhead-logo.h2" means "a div having two classes, yuhead-logo and
h2", which is not what you want. This should work:
GM_addStyle(".yuhead-logo h2 { background-image: url(whatever); }");
--
Michal Wojciechowski
http://odyniec.net/ | http://userscripts.org/users/49673
--
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.