List Info

Thread: Set an image as a full-page background




Set an image as a full-page background
user name
2007-07-27 10:57:47
Helo

Is it possible to set an image as a full page background,
with no margins 
around? It should be placed from the top margin to the
bottom (even under 
header and footer) and from the left margin to the righ, not
only under 
the content, but stretched on the entire page. For example,
for A5 page, 
the image should have 210x148mm.

-- 
Costin STROIE
Linux Technical Writer
BitDefender
-------------------------------
E-mail: cstroiebitdefender.com
Phone : (+402) 1 233 07 80
Mobile: (+40) 722 46 23 79
-------------------------------
www.bitdefender.com

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


Re: Set an image as a full-page background
user name
2007-07-27 11:11:49
Hi,

I have done this, but only in one specific way using XEP.  I did this using a block-container with a fixed position, a hieght/width of the full page, and a z-index value to ensure it is below everything else:

<;fo:block-container background-image=&quot;background.svg" absolute-position=&quot;fixed&quot; height=&quot;210mm&quot; width=&quot;148mm&quot; z-index=&quot;-1";>
&nbsp; <fo:block/>
<;/fo:block-container&gt;

This can be placed anywhere in a customization layer.&nbsp; I am not sure how well this will work with another processor (I know that the z-index property doesn't work in FOP, anyway).

Hope that helps a little.

Colin

On 7/27/07, Costin Stroie < cstroiebitdefender.com">cstroiebitdefender.com> wrote:
Helo

Is it possible to set an image as a full page background, with no margins
around? It should be placed from the top margin to the bottom (even under
header and footer) and from the left margin to the righ, not only under
the content, but stretched on the entire page. For example, for A5 page,
the image should have 210x148mm.

--
Costin STROIE
Linux Technical Writer
BitDefender
-------------------------------
E-mail: cstroiebitdefender.com">cstroiebitdefender.com
Phone : (+402) 1 233 07 80
Mobile: (+40) 722 46 23 79
-------------------------------
www.bitdefender.com

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org">docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org"> docbook-apps-helplists.oasis-open.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )