Simple HTML Table

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

I created a table with only one cell and placed another table with two
cells inside it. But this places some gap below this inner table. I could
find no way to get rid of this gap. I want this inner table to fill the
entire cell without any gap. Pasting below the HTML i used.

<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="300" border="1">
<TR>
<TD>
<TABLE id="Table2" cellSpacing="1" cellPadding="1" width="300"
border="1">
<TR>
<TD></TD>
<TD></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>

Any idea?
 
Set cellSpacing and cellPadding to 0 for Table1
You could also set width and height to 100% for Table2
 
Back
Top