Table within a Table - spacing

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
 
M

MWells

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
 
S

Selden McCabe

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
 
M

MWells

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
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top