Bug rendering empty fields on a table
Posted by: Row
Date: December 03, 2001 01:29AM

Hi.

First, please sorry about my English!

When I describe a table width no content, as this:

<table cellpadding=0 cellspacing=0 bgcolor=#FF0000 border=0>
<tr height=10>
<td width=10>
&lt/td>
</tr>
</table>

the size of the fields marked in TR and TD is no correctly. In this case, K-meleon seems to use the bgcolor parameter, but if I define the background color using a CSS class, Kmeleon doesn't shows the right color.

The same occurs when I define table with no content in my HTML width a background image in TR or TD tags. The background is not shown correctly.

Re: Bug rendering empty fields on a table
Posted by: Brian
Date: December 04, 2001 05:17AM

the solution is to put a non-breaking space in there somewhere, ie <td>&nbsp;</td>

Re: Bug rendering empty fields on a table
Posted by: Brian
Date: December 04, 2001 05:18AM

eh, the html was translated. in between the <td>'s, I had an *ampersand*nbsp;

Re: Bug rendering empty fields on a table
Posted by: Myen
Date: December 07, 2001 08:46AM

(in case that wasn't clear enough)
It's &lt;td&gt;&amp;nbsp;&lt;/td&gt;

K-Meleon forum is powered by Phorum.