html problem - background image needed on table

admin

Administrator
Staff member
here is a snippet of my code, its embedded in a java menu script but that shouldnt matter. basically, i want a background image to the individual part of the table, and i dont know how to do this or if it is even possible.<br />
<br />
'<table border="0" width=', divWidth, ' cellspacing="0" cellpadding="0" bgcolor="#000000">',<br />
'<tr>',<br />
'<td width="100%">',<br />
'<table border="0" width="100%" cellspacing="1" cellpadding="2">',<br />
'<tr>',<br />
'<td CLASS="', MenuID, 'neutral" width="100%" WANT TO INSERT BACKGROUND IMAGE FROM FILE /multimedia/the6yardbox.gif HERE><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#F85007">&nbsp;', Title, '</font></td></tr>',<br />
menucontent[V], '</table>',<br />
'</td>',<br />
'</tr>',<br />
'</table>',<br />
<br />
thanks in advance for any help.<!--content-->couple of ways to do it.<br />
<br />
<td CLASS="', MenuID, 'neutral" width="100%" style="backgound-image: url(/multimedia/the6yardbox.gif)" HERE><br />
<br />
or<br />
<br />
<td CLASS="', MenuID, 'neutral" width="100%" backgound="/multimedia/the6yardbox.gif" HERE><br />
<br />
no take heed that NS4.xx oesn't like background images in nested tables. so it might do some funny things in NS4.xx like tile the whole table<!--content-->
 
Back
Top