W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2007

Re: Background image/watermark positioning problem

From: knoxor <paul.knox@agriculture.gov.ie>
Date: Fri, 2 Feb 2007 07:00:50 -0800 (PST)
Message-ID: <8768440.post@talk.nabble.com>
To: www-xsl-fo@w3.org

Hi,

I've been trying to display a watermark myself without much success. I've
come across the following which may help you:

http://www.velocityreviews.com/forums/t169937-xslfo-watermark.html

and

http://forum.java.sun.com/thread.jspa?threadID=499595&messageID=2360197

At the minute , I can't even get the image to display...

good luck



IMRANKHAN wrote:
> 
> 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#a8768440
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
Received on Friday, 2 February 2007 18:14:28 GMT

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