Subject: Re: [Boost-docs] Getting a draft watermark
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2011-06-17 14:59:32
> -----Original Message-----
> From: boost-docs-bounces_at_[hidden] [mailto:boost-docs-bounces_at_[hidden]] On Behalf Of
> Rene Rivera
> Sent: Thursday, June 16, 2011 8:02 PM
> To: Discussion of Boost Documentation
> Subject: Re: [Boost-docs] Getting a draft watermark
> 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
> good), to figure out why the CSS is being overridden, and where.
That good advice was also given by Daniel James, and I've been using IE9's Dev Tool, but it didn't
reveal to me why it *seemed* that the "background : white" over-powered "background-image:
I'll try the Opera DOM Inspector.
> 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
> image" you should get an image over a white background, and if the image is alpha you'll see that
So if the "background-image: draft.png" comes after, it should still take effect?
I suspect it may be the order of .css that is confusing me.
<link href="../checks_doxygen.css" rel="stylesheet" type="text/css"/>
The 'background : white' is in this custom doxygen.css and the
background-image: draft.png is in the Doxygen_header.html, thus
<!-- Add draft background here if, for example, not yet accepted or otherwise not finalised. -->
<body style="background-image: url(../../images/draft.png);">
So would you not expect the image to take effect?
(It may be complicated by the way Doxygen uses the custom heater and footer around the other main
I'll start with afresh and see if I can resolve my confusion. (Not assisted by being a novice with
This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC