W3C home > Mailing lists > Public > www-xsl-fo@w3.org > May 2008

Re: How to put text on an image?

From: David Arakelian <david@theatons.com>
Date: Tue, 13 May 2008 10:13:55 +0100
To: www-xsl-fo@w3.org
Message-Id: <1210670035.6942.26.camel@dhopkins-laptop>

You can do this with CSS. You will need to crate an element with
position absolute, then insert your image and text node inside. Apply
position absolute to the text and then you will be able to use top,
right, bottom, left to move it about.

You can also achieve this type of stuff with PHPs GD library or
Imagemagick, which is can be used with PHP.
      ,'/:.          David Arakelian 
    ,'-/::::.        http://www.theatons.com/
  ,'--/::(@)::.      Web Security Consultant
,'---/::::::::::.    Wales
  T H E A T O N S  
Received on Tuesday, 13 May 2008 15:30:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:32 UTC