Simple HTML Table

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?
 
G

Guest

Set cellSpacing and cellPadding to 0 for Table1
You could also set width and height to 100% for Table2
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top