J
John Nagle
I'm writing code under Greasemonkey which inserts little popups into
existing pages. (It's an advertiser-rating system; see "sitetruth.com")
The popups are DIV sections with a Z value that makes them a new layer.
The problem is that the new code is subject to the styles in effect
for the original page. I've tried giving my DIV a class which resets
almost everything, but that's not enough. Pages that tie styles
to all A or P or TD elements still give trouble. There's no obvious
way to override that without affecting the rest of the document.
How do you override such things locally?
Should I insert an IFRAME instead of a DIV layer?
John Nagle
existing pages. (It's an advertiser-rating system; see "sitetruth.com")
The popups are DIV sections with a Z value that makes them a new layer.
The problem is that the new code is subject to the styles in effect
for the original page. I've tried giving my DIV a class which resets
almost everything, but that's not enough. Pages that tie styles
to all A or P or TD elements still give trouble. There's no obvious
way to override that without affecting the rest of the document.
How do you override such things locally?
Should I insert an IFRAME instead of a DIV layer?
John Nagle