W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2006

Background image/watermark positioning problem

From: IMRANKHAN <imran.khan@daffodildb.com>
Date: Mon, 11 Dec 2006 03:27:40 -0800 (PST)
Message-ID: <7793135.post@talk.nabble.com>
To: www-xsl-fo@w3.org


HI,

I want a image or a word to be appear as watermark or background of all the
pages but place centrally.

I tried 
<fo:block  font-family="Arial"
				  font-size="12pt" text-align="center"
				  background-image="url(com/xmltopdf/convertor/image/confidential.gif)"
				  background-repeat = "no-repeat"
				  background-position ="center"
				  >
	        <xsl:apply-templates/>
       </fo:block>
where background-image is confidential.gif image but i am not able to place
the image at the center of the page.

i tried background-position, background-position-horizontal,
background-position-vertical 

thanks
imran
-- 
View this message in context: http://www.nabble.com/Background-image-watermark-positioning-problem-tf2793375.html#a7793135
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
Received on Monday, 11 December 2006 11:27:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:14 GMT