Link to home
Start Free TrialLog in
Avatar of silki
silki

asked on

TABLE background pics in NETSCRAPE !!!

Hi i

Have a table with backhground pic but when i add td tags with data in them in NETSCAPE the pic loops is there any way i can get around this ??

Code Below

SILKI

<table background = ./pics/back1.jpg>
<tr>
<td><select name = testy>
<option value = "1">1</option>
</select>
</td>
</tr>
</table>
ASKER CERTIFIED SOLUTION
Avatar of AvocadoIsle
AvocadoIsle

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hagur
hagur

set an empty background for the tr's or the td's in the table, something like this:

<table background = ./pics/back1.jpg>
<tr background="">
<td background=""><select name = testy>
<option value = "1">1</option>
</select>
</td>
</tr>
</table>


This does work atleast when you have nested tables and the outer table has a background but the inner table hasn't.
And exactly what I wrote in the question as linked above by AvocadoIsle.

This is a common issue.  What Netscape does is put the background image in every cell.  The way to get
round this is to nest your table inside another table.  And it is important to set your background to
"" in the nested table.  So the background image is ONLY in the top level table.

<table border="0" cellpadding="0" cellspacing="0" background="bkgd.gif">
 <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" background="">
     <tr>
       <td>Your table stuff.</td>
       <td>Your table stuff.</td>
     </tr>
     <tr>
       <td>Your table stuff.</td>
       <td>Your table stuff.</td>
     </tr>
   </table></td>
 </tr>
</table>

The link above shows there is more than one way though.
Avatar of silki

ASKER

give me a chance to try it and i will get back to you