[Project_owners] CSS and browser windows

Adam Judson adamsplugins at gmail.com
Wed Jan 18 22:12:02 EST 2006


On 18/01/06, Philip Chee <philip.chee at gmail.com> wrote:
> 1. He seems to want to override the styles only within the content of his
> own <browser> elements.

Exactly

>
> 2. nsIStylesheetService affects both chrome and content, so you will
> probably need to use a @namepace() declaration in your .css file.
>

What?

Okay, I clearly don't know enough about css...

Basically I'm displaying images from flickr, and the default seems to
be to add 8px;
margins around everything with a white background.  If someone loads the same
image in a regular browser window I don't want the style to be modified.

Will a namespace solve this?

Adam

(http://photomap.mozdev.org if you're interested)


More information about the Project_owners mailing list