English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2 answers

All you need to do is take advantage of a special parameter for the td tag called the background parameter. The background parameter will insert an image behind a cell instead of inside the cell.

One word of caution: the image you use will begin to repeat itself if the cell is wider than the image. To prevent this from happening, you may want to assign width and height parameters to any cell that contains a background image.

Another word of caution: when you place an image in the background of a cell, you are permitted to type text inside the cell. Any text you type will then be laid across your image.

We don't really want to type anything across our image in this case, but there is a problem: if you fail to type anything inside a cell containing a background image, many browsers will not show the cell at all! So you always have to remember to put something inside the cell. If you don't want to obliterate your image, just place an invisible space character ( ) inside the cell.

Change:






to this:


 




set the width and height of the cell containing that photo accordingly

hope this helps!

2007-06-26 13:07:37 · answer #1 · answered by urmarkgirl 2 · 0 0

I don't belive you can. I have always made the image the same size as the table or cell.

2007-06-26 09:34:53 · answer #2 · answered by T 3 · 0 0

fedest.com, questions and answers