From: Chris Schlaeger (cs_at_suse.de)
Date: Tue Dec 02 2003 - 22:47:45 CET
From: Chris Schlaeger <cs@suse.de> Date: Tue, 2 Dec 2003 22:47:45 +0100 Message-Id: <200312022247.51347.cs@suse.de> Subject: Re: [taskjuggler-devel] TaskJuggler - Printing with Mozilla
On Friday 28 November 2003 10:50, Juergen Brauckmann wrote:
> Hi.
>
> Mozilla 1.3-1.5 on Windows (did not check the linux versions) has a
> problem printing task reports when the report spans several pages.
>
> All but the first page have their background-color set to black, which
> does not look very nice and consumes rather much ink:-)
>
> It seems as if Mozilla takes the last background-color attribute
> (doesn't matter from which HTML element) it encounters on the first page
> and applies it to the body of all following pages, if the
> background-color of the body is not explicitely defined.
I can't reproduce this with the Linux version (1.4).
> The following patch sets the background-color from the whole body
> explicitely to white.
And by doing so it eliminates the frame of the grid cells. So this it not
really an acceptable solution. I tried to work around the Mozilla bug, with a
custom stylesheet like this:
htmltaskreport "test.html" {
rawstylesheet '
<style type="text/css">
<!-- *.tj_table { background-color:#00FFFF; } -->
</style>'
}
But the stylesheet seems to be unable to override the local background style
attribute. I'll try to use a real grid for future versions. This hopefully
works with all browsers.
Chris
-- KDE 3.1: Conquer your Enterprise Desktop! See http://www.kde.org! GPG Key: 1024D/0500838B A5FE C051 2AFC 9A14 768A 5125 5829 5750 0500 838B
This archive was generated by hypermail 2.1.7 : Tue Dec 02 2003 - 22:49:30 CET