OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] background-image across page regions

On Mon, Jun 23, 2003 at 07:29:03PM +0200, Jeroen van Holst wrote:
> On Mon, 2003-06-23 at 19:08, Bob Stayton wrote:
> > The page masters for draft.mode in the stylesheets output
> > a background image.  Take a look at any of those page
> > masters fo/pagesetup.xsl, such as:
> > 
> >   <fo:simple-page-master master-name="blank-draft">
> > 
> > It sets a bunch of extra attributes on the <fo:region-body>.
> I did and used it as an example for including my own background image!
> My image is displayed properly, within the body region as expected.
> However, I would like to have the image cover the *entire* page,
> including regions start/end and before/after. Can this be done with 
> attributes in region-body (perhaps the solution is obvious, but I'm
> fairly new with this stuff)?

I don't know if this will work, but
did you try setting the background-position-horizontal 
to a negative value, equal to the left page margin?
Same with the background-position-vertical and the top margin.  
The image needs to be big enough to cover the whole page,
of course.


Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]