Thread: php in image?
View Single Post
  #2 (permalink)  
Old 03-22-04, 08:10 AM
Bonzo's Avatar
Bonzo Bonzo is offline
Coding Addict
 
Join Date: Jan 2004
Posts: 340
Thanks: 0
Thanked 0 Times in 0 Posts
Use tables

echo "<table width='100%' background='image.jpg'>";
echo "<tr>";
echo "<td><p>Text or results from php</p></td>";
echo "</tr>";
echo "</table>";

or

echo "<table width='100%'>";
echo "<tr>";
echo "<td background='first bit of pic'></td>";
echo "<td background='second bit of pic'><p>Text or results from php</p></td>";
echo "<td background='third bit of pic'></td>";
echo "</tr>";
echo "</table>";

A lot of this could be done with css as well.

Anthony
Reply With Quote