PDA

View Full Version : table cell background images


andrewsheldon98
08-20-2002, 10:19 PM
heres the question:

when i insert a picture as a background in a table cell, the image tiles to cover the whole area of the cell.

problem:

i want to be able to keep the sizes the cell but i want the background of the cell as one image not tiled.

Tonz
08-21-2002, 01:52 AM
Place your image on a transperant gif.

Make the gif larger than your table cell to ensure it won't tile.

Much better than "No-tile" tag.

Tonz:cool:

tom-mt
08-21-2002, 02:21 AM
or you can use css like:


td {
background-repeat: no-repeat
}