Re: Getting a draft watermark
"Paul A. Bristow" <[email protected]>
| Newsgroups | gmane.comp.lib.boost.documentation |
|---|---|
| Message-ID | <[email protected]> |
> -----Original Message----- > From: [email protected] [mailto:[email protected]] 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." Paul > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] 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<[email protected]> 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. > > 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: > draft.png". > > 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 > "background- > > image" you should get an image over a white background, and if the > > image is alpha you'll see that > white. > > 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. > > <head> > ... > <link href="../checks_doxygen.css" rel="stylesheet" type="text/css"/> ... > </head> > > 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 with html/css!). > > Thanks > > Paul > > > > > _______________________________________________ > Boost-docs mailing list > [email protected] > http://lists.boost.org/mailman/listinfo.cgi/boost-docs _______________________________________________ Boost-docs mailing list [email protected] http://lists.boost.org/mailman/listinfo.cgi/boost-docs
(unnamed)
(message/rfc822, 2.3 KB) - not displayed