This topic is locked

Insert background image into a cell of a table

7/30/2010 8:06:50 AM
PHPRunner General questions
P
paulsimo author

Could anybody please tell me how to insert a background image into a cell of a table, changing the colour is obviously pretty easy, but I would like an image there instead.

I know the answer is fairly straight forward as I had figured it out, unfortunately I really can't remember how I did it.
Any help would be very much appreciated.
Paul

P
paulsimo author 7/31/2010

Okay, it has taken some head scratching to remember how I did this, but I finally got there.
For anybody also wishing to do this use the Background attribute as follows:
<TD BACKGROUND="url">
The text, url is replaced with the internet address of the picture you want to use. It could also be helpful to add width and height attributes match the dimensions of the image:
eg.
<TD BACKGROUND="images/ex.gif"

WIDTH="60" HEIGHT="35">



Could anybody please tell me how to insert a background image into a cell of a table, changing the colour is obviously pretty easy, but I would like an image there instead.

I know the answer is fairly straight forward as I had figured it out, unfortunately I really can't remember how I did it.
Any help would be very much appreciated.
Paul