Re: [Boost-docs] Getting a draft watermark

Subject: Re: [Boost-docs] Getting a draft watermark
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2011-06-16 19:02:22


On 6/16/2011 1:53 PM, Daniel James wrote:
> On 16 June 2011 18:09, Paul A. Bristow<pbristow_at_[hidden]> wrote:
>>
>> Reading http://www.w3.org/TR/CSS2/colors.html, I'm still puzzled my specifying background-image
>> doesn't override the 'background : white" command.
>
> I really can't say without seeing what you've got.

You might want to:

1. Use something like "Web Developer Tools" on FF, or just the DOM
inspector in Opera (this is particularly good), to figure out why the
CSS is being overridden, and where.

2. Or add "!important" to the declaration to hopefully override a
subsequent style.

And to answer the general question.. "background-image" doesn't override
"background". When one specifies "background" it splits that into the
individual CSS properties. So when you use "background-image" you should
get an image over a white background, and if the image is alpha you'll
see that white.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC