RE: [docbook-apps] How to scale image in customized title page with margin-right?

From
Earya Raid-Bkbari
Date
2006-10-27T09:25:23+00:00
ID
Thread
RE: [docbook-apps] How to scale image in customized title page with margin-right?
I fixed it with these two lines:

<fo:block text-align="justify">
  <fo:external-graphic src="{$titlepagegraphic}"
content-width="21cm"/>
  ...

Seems to make a difference whether I use percentage or
not.

Regards,
Darya

--- Darya Said-Akbari <>
schrieb:

> Hi,
> 
> my customized first title page only has a
> margin-right.
> 
> While all text I place on it aligns correct to the
> margin-right I have now a problem with an image that
> should span from start to end of the page (outer
> left
> to outer right).
> 
> Unfortunately the margin-right disturbs here.
> Whatever
> I set for content-width it never fits :(
> 
> Here is the code I use:
> 
> <xsl:template name="book.titlepage.recto">
>   <fo:block>
>     <fo:table inline-progression-dimension="100%"
> table-layout="fixed">
>       <fo:table-column column-width="100%"/>
>       <fo:table-body>
>         <fo:table-row>
>           <fo:table-cell>
>             <fo:block text-align="center">
>               <fo:external-graphic
> src="{$titlepagegraphic}" content-width="45%"/>
>             </fo:block>
>           </fo:table-cell>
>         </fo:table-row>
>         ...
> 
> Does anyone has a trick how I can keep the
> margin-right and span the image from left to right?
> 
> Regards,
> Darya  
> 
> 
> 	
> 
> 	
> 		
>
___________________________________________________________
> 
> Der frühe Vogel fängt den Wurm. Hier gelangen Sie
> zum neuen Yahoo! Mail: http://mail.yahoo.de
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
> 
> 

		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de