PDA

View Full Version : Images as backgrounds to tables


Jim_Shady
04-11-2005, 03:54 PM
Hi all,

Please take a glance at this page...

http://www.mgf-labs.com/MachineryEquiptment.htm ('http://www.mgf-labs.com/MachineryEquiptment.htm')

The images in the centre are within cells of a table. I want the image on the right to be the background for that cell of the table - however it 'tiles' if the cell is too large. Is there anywhere in Dreamweaver that I can tell it not to tile and to just display it once? Or does someone have a better suggestion as to how to 'build' this page?

Thanks for the help guys - let me know if the seeing the code would help....

Jim Shady.

domedia
04-12-2005, 02:25 AM
Your background is tiling, correct. If we use CSS we have more control over the layout.
Replace this line:<td rowspan="3" background="Images/MachineryBackgroundImage.png"></td>
With this line:<td rowspan="3" style="background: url('Images/MachineryBackgroundImage.png') no-repeat;"></td>

Jim_Shady
04-12-2005, 09:22 AM
Cheerd Domedia - worked a charm.

Jim Shady.