GNOME Bugzilla – Bug 652741
Adding a draft.png background image to doxygen mainpage
Last modified: 2011-08-15 17:25:31 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.
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.
Using background-color seems like a sensible thing to do. I'll change this in the next subversion update.
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.
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.