Ignore document style rules in one element.
Posted
by panzi
on Stack Overflow
See other posts from Stack Overflow
or by panzi
Published on 2010-05-08T20:12:48Z
Indexed on
2010/05/08
20:18 UTC
Read the original article
Hit count: 149
css
|greasemonkey
I write a greasemonkey script that adds sticky notes to websites. Because there sometimes are pretty strange style rules used in some websites the sticky notes sometimes turn up messed up (or at least not looking like I want them to look).
Is there a way to say "under this element do not apply any generic stylerules"? So that rules associated with tag names are not applied, but rules associated with certain classes and ids still are. Or does anyone have a better idea on how to ensure that only my styles are applied to the sticky notes?
© Stack Overflow or respective owner