Re: User style sheets in Firefox (gutvol-d Digest, Vol 13, Issue 27)

Robert Cicconetti <grythumn@gmail.com> wrote:
On 8/24/05, Lee Passey <lee@novomail.net> wrote:
Unfortunately, I haven't been able to figure out how to tell Firefox how to use a user specified css file (I've got version 1.0.4). If anyone can enlighten me on this score, I would be most grateful. Mr. Noring tells me that I can do it with Opera, but I've yet to try it.
Put it in userContent.css?
http://www.mozilla.org/support/firefox/edit#content
R C
I _thought_ that was what I had done, but at your urging I did some more experimentation. I finally discovered that on this particular box (Windows XP, which I ordinarily wouldn't use, but sometimes you have to compromise) the userContent.css file had to be in C:\Documents and Settings\lpassey\Application Data\Mozilla\Firefox\Profiles\0wlij0cb.default\chrome -- not the most intuitive location. Once I had found the right location it still didn't work until I had restarted Firefox, so apparently the .css file is loaded on startup, and not consulted thereafter -- great if you want to override HTML defaults, but not so good if you want to switch style sheets when looking at a particular document. And I haven't tested it yet but my guess is that this means it will _not_ override some of the screwy choices that some document authors choose to use. That is, if an HTML file links to "screwy.css" those style will be applied _after_ my preferences, not before. And the userContent.css styles are only applied to HTML documents, not to XML documents. Ah well, I guess our reach should always exceed our grasp, that's how progress is made. Thanks for your help.
participants (1)
-
Lee Passey