Table within a Table - spacing

  • Thread starter Thread starter Selden McCabe
  • Start date Start date
S

Selden McCabe

Sometimes I want to put a table inside a cell of another table (say, to
create 3 equal divisions, etc.).
When I want the inner table's edges to correspond exactly with the edges of
the cell, I set the border (top, left, bottom, right) to zero for both the
inner table and outer table. Also padding to 0 and spacing to 0.

But, for some reason, there is still some space between the bottom of the
inner table and the bottom of the containing cell. (Equal to about 20
pixels or so). I can't figure out how to make that space go away!

---Selden McCabe
 
Selden, I recall experiencing something similar. If you're embedding the
tables manually, try removing all the whitespace (spaces, cr's, lf's)
between the inner </table> tag and the hosting </td>.

/// M
 
Thanks for the tip.

I also found this (by trial and error):
In the table style (select table, format\build style), there is a
line-spacing property for text.
Select custom, and set this to 0.
Even though there was no text and no other types of spaces, etc. in the
table, that last row of space went away!

Thanks again, maybe these items will help others...

---Selden
 
Thanks Selden, I like your approach better. It's a much cleaner than
hacking all the whitespace from your HTML...

Great work on the research.

/// M
 
Back
Top