> Robert Raposa wrote:
> > I have created a page-master with a certain width and height
> (768 x 1024)
> > and no margins.  I tried to fill this page with an image (PNG) - also of
> > size 768 x 1024.  If the image is enclosed in exactly one block
> - it works
> > fine.  However - if the image is enclosed inside of two blocks
> - a second
> > page appears in my report that is completely blank.
> >
> > As can be seen in my example below - I tried setting all kinds
> of attributes
> > on the block tags to "0px" just to see if this would help the
> situation -
> > but it didn't.
> >
> > Also - it seems that if I leave the width at 1024 - but shrink
> the height of
> > the image to a maximum of 751 - the blank page will disappear.
> >
> > Any thoughts as to what is going on here?  Thanks!

J.Pietschmann wrote:
> I have yet to check but it seems somehow the space usually
> inserted before a line (so called half-leading) is added.
> Check whether setting font-size="0pt" or/and line-height="0pt"
> fixes this.
Thanks.  Using either font-size or line-height of "0pt" in the outer block
does the trick (i.e. the extra page is gone).

> > A quick side question.  The purpose of the outer block was
> originally to set
> > up some default attributes for my document.  I read somewhere that these
> > could actually be placed inside fo:root instead.  Unfortunately - I was
> > unable to make this work.  Can anyone confirm or deny that this
> should work?

J.Pietschmann wrote:
> For most properties search stops a page-sequence, or perhaps
> at the flow. Try to add your properties there.
Adding the properties to either the page-sequence or the flow seems to work
in general (for font-size and color).  However - it seems that
background-color doesn't work from here.  Is there a standard way to change
the background-color of an entire page?  I have work-arounds for this -
using a table - but I was curious if there was a "correct" way to do this?

Thanks again for the help.

- Robert



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to