Background image for table cells

liunx

Guest
I am creating a table on my web page. For certain cells I want an image I have made to appear as the background of that particular cell.<br />
<br />
I tried to add: background="url of image" into the <table> <tr> and <td> tags.<br />
<br />
That unfortunately did not work so here i am now asking for your help.<br />
<br />
Just to clarify, i dont want one image to be the background for the whole table. Im trying to make each cell have its own individual background. <br />
I am assuming that with the write code for the background image, i could just add that to the different <tr> and <td> tags as i please so that they have whatever image i want as their background.<br />
<br />
Thanks,<br />
DAVE<!--content--><style type="text/css"><br />
td.example{background-image: url(image.jpg);}<br />
</style><br />
<br />
<td class="example"></td><!--content-->
 
Back
Top