On Feb 22, 11:29 am, Spikey <[email protected]> wrote:
> firefox version 3.5.8, firebug version 1.5.0
>
> I am using firebug to change the look of a website but am having
> problems finding the right css code to change because firebug is
> showing me -moz- elements, it says these are in the template.css file
> but they aren't there, I now know that these are added by the Gecko
> rendering engine, I tried turning them off by unchecking 'show user
> agent css' in firebug but they still show, the problem is I need to
> find the actual css to change the background colour of the main
> content area but firebug only shows me the code below, how can I find
> the actual css code?
>
> body#bd {
> -moz-background-clip:border;
> -moz-background-inline-policy:continuous;
> -moz-background-origin:padding;
> background:#8E0855 none repeat scroll 0 0;
> color:#333333;
>
> Spikey

The background (#8E0855) and foreground (#333333 i.e. 20% grey)
colours shown above are not prefixed by -moz-, but even -moz-
attributes are part of the CSS -- or rather, they are _Gecko
extensions_ to the "official" CSS. They are even documented, see
https://developer.mozilla.org/en/CSS_Reference/Mozilla_Extensions and
what it links to.

IIUC, the above consists of the results of the "site CSS", the
"browser CSS" and the "user CSS", some of them possibly overriding
some others according (among others) to the presence or absence of
the !important keyword, as they are applied (in this case) to a <body
id="bd"> element (if any).

Best regards,
Tony.
--
If two men agree on everything, you may be sure that one of them is
doing the thinking.
                -- Lyndon Baines Johnson

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to