Table cell background image.

Munkeypop

New Member
Hey folks.

I'm currently setting up a site where I need to have a background images for the cells of tables. I'm currently using this tag <td background="image.gif"> however, i've found that its not fully supported. Does anyone know of an alternate way to display an image as the background in a cell?
 

johnnytv

New Member
Use a separate cascading style sheet (css) look into them, you'll thank me later

then put code in like this:

td {
background-image: url(image.gif);
}
 
Last edited:

Mora wacker

New Member
you can

Hi,
From Your writtings i have understood that you want to give background images for your table cells.You just give background attribute for the table tag instead of giving in each cells of the table.The below code will clearly explains you
<table background="\picture" >
<tr><td>...</td><td>....</td></tr>
</table>
I think this will solve your problem.And also its saves time for you.
This method will give a neat presentation to your table rather than what you did already.
You can also use cascading style sheet to overcome this problem

All the Best!:cool:
 
Top