PDA

View Full Version : Table background image problem



shifanyroma
Jul 13th, 2009, 02:06 AM
I'm trying to put a background in my table data section but i#m having no luck. It's been a while since i've made any websites but the last time i did i used this same method and now it's not working.

The page i'm working on is and i'm trying to get the coding marked in bold to work:

<TABLE WIDTH=1000 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD COLSPAN=5>
<IMG SRC="/lay_01.jpg" WIDTH=1000 HEIGHT=363 ALT=""></TD>
</TR>
<TR>
<TD ROWSPAN=4>
<IMG SRC="/lay_02.jpg" WIDTH=42 HEIGHT=537 ALT=""></TD>
<TD COLSPAN=3>
<IMG SRC="/lay_03.jpg" WIDTH=923 HEIGHT=52 BORDER=0 ALT="" USEMAP="#lay_03_Map"></TD>
<TD ROWSPAN=4>
<IMG SRC="/lay_04.jpg" WIDTH=35 HEIGHT=537 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=3>
<IMG SRC="/lay_05.jpg" WIDTH=923 HEIGHT=32 ALT=""></TD>
</TR>
<TR>
<TD ROWSPAN=2>
<IMG SRC="/lay_06.jpg" WIDTH=4 HEIGHT=453 ALT=""></TD>
<TD style="background-image:url(/lay_07.jpg)"></TD>


<TD ROWSPAN=2>
<IMG SRC="/lay_08.jpg" WIDTH=3 HEIGHT=453 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="/lay_09.jpg" WIDTH=916 HEIGHT=21 ALT=""></TD>
</TR>
</TABLE>

francis_elkin
Aug 6th, 2009, 10:57 PM
if you want to display the bg picture you have to place something inside TD tags... I suggest you to put a space - &nbsp

<TD style="background-image:url(lay_07.jpg)">&nbsp</TD>