First cell has no color under Netscape! Why???

liunx

Guest
Only the first cell <td width=200> in the table shows no color under Netscape. I have already tried to set bgcolor of the cell to black, actually this would not be necessary because the table has already bgcolor="000000" set, but it doesn't take any effect either. Under IE looks correct! Here is the html-code of the table:<br />
<br />
<table width="100%" bgcolor="#000000" border="0" cellpadding="0" cellspacing="0"><br />
<tr><br />
<td width="200"></td><br />
<td><img src=http://www.htmlforums.com/archive/index.php/"images/b_klima.gif"><img src="images/b_mess.gif"><img src="images/b_getriebe.gif"><img src="images/b_uhren.gif"><img src="images/b_komm.gif"><img src="images/b_auto.gif"><img src="images/b_haush.gif"><img src="images/b_sani.gif"><img src="images/b_kosmetik.gif"></td><br />
</tr><br />
</table><!--content-->I always experience this problem in Netscape. The thing is, if there is no content in a cell, something like text or an image, the cell wond appear. To over come this, put a &nbsp; tag which forces a sapce, 'tricking' the browser into thinking there is content there. You could also just put some text the same color, here's your modified table.<br />
<br />
<table width="100%" bgcolor="#000000" border="0" cellpadding="0" cellspacing="0"> <br />
<tr> <br />
<td width="200"><br />
<br />
<font color="#000000">fdsafsa</font><br />
<br />
</td> <br />
<td><img src=http://www.htmlforums.com/archive/index.php/"images/b_klima.gif"><img src="images/b_mess.gif"><img src="images/b_getriebe.gif"><img src="images/b_uhren.gif"><img src="images/b_komm.gif"><img src="images/b_auto.gif"><img src="images/b_haush.gif"><img src="images/b_sani.gif"><img src="images/b_kosmetik.gif"></td> <br />
</tr> <br />
</table><!--content-->
 
Back
Top