You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Ian Taylor <ia...@inatos.com> on 2002/02/27 10:33:09 UTC

Background Color

How do you change the background color of a whole page? I am applying it to 
all my tables at the moment but there are white areas between them that I 
would like to be blue.

Thanks


Re: Background Color

Posted by Josh Campbell <jo...@zype.co.nz>.
I'm pretty sure you can't at this stage. FOP accepts it in the 
<fo:region-body> without errors but doesn't do anything about it.
I used a table cell with a height attribute and put the color in that. 
Everything else went inside that cell.

Josh


Ian Taylor wrote:

> How do you change the background color of a whole page? I am applying 
> it to all my tables at the moment but there are white areas between 
> them that I would like to be blue.


Josh Campbell


ZYPE - Graphical Interface Design
Phone: 03 3862094
Mobile: 021 400 472
Web: www.zype.co.nz




Re: Background Color

Posted by Guillaume Laforge <gl...@reflexe.fr>.
I thought that when you define your <fo:region-body> in your <fo:simple-page-master> (in the <fo:layout-master-set>) you could define a background-color attribute... but unfortunately, it doesnt work :o/ Maybe it's not yet implemented ?
  ----- Original Message ----- 
  From: Ian Taylor 
  To: fop-user@xml.apache.org 
  Sent: Wednesday, February 27, 2002 10:33 AM
  Subject: Background Color


  How do you change the background color of a whole page? I am applying it to 
  all my tables at the moment but there are white areas between them that I 
  would like to be blue.

  Thanks