Re: Can't set userContent.css for Firefox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Tim" == Tim  <ignored_mailbox@xxxxxxxxxxxx> writes:

    Tim> On Wed, 2010-09-22 at 08:34 +0100, Colin Paul Adams wrote:
    >> I have created a userContent.css in
    >> ~/.mozilla/firefox/<garbage>.default/chrome/userContent.css
    >> 
    >> that looks like this:
    >> 
    >> body { backgroundColor: yellow;
    >> }
    >> 
    >> 
    >> and restarted firefox (3.5.12 - FC12) but it does nothing.
    >> 
    >> What am i doing wrong?

    Tim> A syntax error

What's the syntax error?

    Tim> If you want, and (once corrected) would only be applied to
    Tim> pages that don't have any styling rules, already.
    Tim> to force an overriding style, you need to add an "!important"
    Tim> clause, before the semi-colon.

I originally had the ! important, but I removed it from
the example to keep things simple. The example doesn't even work on a
page that has no style rules.
-- 
Colin Adams
Preston Lancashire
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux