[Project_owners] Skinning extension through userContent.css?

Sudhakar Chandra thaths at openscroll.org
Sun Nov 21 06:24:00 EST 2004

Chris Neale wrote:
> On Saturday 20 November 2004 16:25, Sudhakar Chandra wrote:
>>I do have a slight problem.  My XUL extension (a news aggregator),
> which mozdev project ?


>>generates HTML, saves it to a file and opens it in an iframe using a
>>file:// url. I am not sure if that would be skinnable through
> probably not

I tested it and userChrome does not seem to skin a file:// loaded into 
an iframe.

>>If I were to include a reference to one user*.css explicitly in my
>>generated html, which one should I be using? userContent? userChrome?
> I would generate an id attribute for the body of your generated page, then add 
> instructions that users should prefix styles for this page with that id, when 
> they add declarations to userContent.css

Thanks. That is a good idea.

"If I could just say a few words... I'd be a better public speaker."
                         -- Homer J. Simpson
Slacker Without Borders                        http://openscroll.org/
Key fingerprint = 8A 84 2E 67 10 9A 64 03  24 38 B6 AB 1B 6E 8C E4

More information about the Project_owners mailing list