PDA

View Full Version : Background Image in a Table Cell


stoneygossard
06-21-2006, 06:55 PM
Is it possible to set a background image in a table cell?And if so how do i do it in DW8?

Creative Insanity
06-21-2006, 08:14 PM
yes

Select the image in the cell.
Go to the code view and copy the width and height of the image and paste them in the <td> tag of the image. Place them directly after the <td> tag.
Now go back to view mode again and select the image and in the properties copy the image file name. Now select the image again and press delete. Now paste the copied image file name in the cells properties on background and walla.

The reason that we paste the image width and height into the <td> tags is so that your table does not fall to pieces once you delete the image, which happens more times than not if you do not keep the cell the same size as the image that was there as a foreground object.

stoneygossard
06-21-2006, 09:27 PM
Much appreciated. I actually didn't see the "bg" property for the table.

Stoney

Creative Insanity
06-22-2006, 08:18 PM
See image