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

Re: How to put text on an image?

From: David Arakelian <david@theatons.com>
Date: Tue, 13 May 2008 10:14:05 +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 Saturday, 30 May 2015 04:00:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:10:19 UTC