Page 1 of 1

Can a picture be a background for a cell in a table?

Posted: Sun Nov 09, 2003 4:25 am
by matrix
This might be an odd question to this forum. But, if someone can help me, would be great. I need to know in HTML whether is it possible to have a background for a cell in a table as image file. Is it possible to set the background as image file and have the texts filled in the cells?
If so, how? If someone can help me at the earliest, it would be fine.
Thanks in advance.

Neo

Posted: Sun Nov 09, 2003 5:13 am
by vigge89
yes it is, try <td background="img.gif">

Posted: Sun Nov 09, 2003 6:39 am
by qads
if you have a template based site then use CSS

Code: Select all

.bg&#123;
background-image: url(path/to/image/here);
&#125;

<td class="bg">