Subject: Re: [Boost-docs] Getting a draft watermark
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2011-06-22 09:42:36
> -----Original Message-----
> From: boost-docs-bounces_at_[hidden] [mailto:boost-docs-bounces_at_[hidden]] On Behalf Of
> Paul A. Bristow
> Sent: Friday, June 17, 2011 4:00 PM
> To: 'Discussion of Boost Documentation'
> Subject: Re: [Boost-docs] Getting a draft watermark
Daniel James's suggestion seems to be accepted, and this should mean that order is not important to
selection of background-image.
Dimitri van Heesch writes (see attached).
"Using background-color seems like a sensible thing to do.
I'll change this in the next subversion update."
> > -----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
> 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
> contents files?)
> I'll start with afresh and see if I can resolve my confusion. (Not assisted by being a novice
> Boost-docs mailing list
attached mail follows:
doxygen | build | 1.7.4
Dimitri van Heesch <dimitri> changed:
What |Removed |Added
Ever Confirmed|0 |1
--- Comment #2 from Dimitri van Heesch <dimitri_at_[hidden]> 2011-06-19 07:57:45 UTC ---
Using background-color seems like a sensible thing to do.
I'll change this in the next subversion update.
-- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You reported the bug.
This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC