[xep-support] Re: [error] Attribute 'background-image' cannot occur at element 'fo:simple-page-master'.

From: Nathan Stenzel <nathanstenzel@sebis.com>
Date: Wed May 25 2011 - 11:11:24 PDT

On Wednesday 25 May 2011 10:50:32 am G. Ken Holman wrote:
> At 2011-05-25 10:16 -0500, you wrote:
> >Why can't we do this? It would make sense to be able to say what the
> >background image is for the sake of saying "this goes on this paper".
>
> According to the XSL-FO specification, the background image is a
> property of each of the regions on the page, not a property of the
> page geometry.
>
> If you set your page margins to 0pt, then the region-body is the same
> size as your paper, and then you would get your full-page background image.
>
> I hope this helps.
>
> . . . . . . . . Ken
>
> --
> Contact us for world-wide XML consulting & instructor-led training
> Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
> G. Ken Holman mailto:gkholman@CraneSoftwrights.com
> Legal business disclaimers: http://www.CraneSoftwrights.com/legal
>
>
>
>
>
> _______________________________________________
> (*) To unsubscribe, please visit
> http://lists.renderx.com/mailman/options/xep-support (*) By using the
> Service, you expressly agree to these Terms of Service http://w
> ww.renderx.com/terms-of-service.html

Thanks much for the reply. I think a number of people have had trouble with
this in the past.

I did the following...
-set background-image for the fo:region-body
-set the margins to 0in and the padding to the top and bottom borders of the
flowing space for the fo:region-body
-set the block-containers to be relatively postioned (not absolute)

Now, I finally have it working.

!DSPAM:87,4ddd465163736718531440!

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Wed May 25 11:11:35 2011

This archive was generated by hypermail 2.1.8 : Wed May 25 2011 - 11:11:36 PDT