After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652741 - Adding a draft.png background image to doxygen mainpage
Adding a draft.png background image to doxygen mainpage
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: build
1.7.4
Other Windows
: Normal minor
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-06-16 14:38 UTC by Paul A. Bristow
Modified: 2011-08-15 17:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul A. Bristow 2011-06-16 14:38:09 UTC
I've been trying to add a background image draft.png to Doxygen's mainpage, for example by adding to a custom Doxygen header.html.

<!-- Add draft background here if, for example, not yet accepted or otherwise not finalised. -->
<body style="background-image: url(../../images/draft.png);">
</body>

It seem that this statment "background: white;" in the default doxygen.css is blocking the application of an image.

(Line 185 - 189) 

body {
	background: white;
	color: black;
        margin: 0;
}

In that background as white is the default, is there a need for this statement at all?

If the background: white; is deleted, it works as expected wtih the watermark.

Or can html experts suggest a way round this?

Thanks.
Comment 1 Paul A. Bristow 2011-06-18 09:19:28 UTC
Someone more expert has suggested that

body {
    background-color : white;
    color: black;
        margin: 0;
}

would ensure that the page is white without affecting the background-image.
Comment 2 Dimitri van Heesch 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.
Comment 3 Dimitri van Heesch 2011-08-14 14:04:41 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.5. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.
Comment 4 Paul A. Bristow 2011-08-15 17:25:31 UTC
I confirm that

body {
	background-color: white;
	color: black;
        margin: 0;
}


is in doxygen.css 1.7.5

and appears to have the desired effect with a draft watermark.