Hi,
I can''t believe i''m having troubles with this (since i''ve know i''ve done it before), how do you make a table have absolutely no space in-between its cells? The reason is that I want to have images seemlessly fit together in different cells.
Thanks,
Scott
Email
Website
"If you try and don''t succeed, destroy all evidence that you tried."
Good 'ol Table HTML
CELLPADDING=0
CELLSPACING=0
...should in theory do it. In practice, it''s another story. That''s why I hate HTML: it isn''t logic; it''s voodoo.
CELLSPACING=0
...should in theory do it. In practice, it''s another story. That''s why I hate HTML: it isn''t logic; it''s voodoo.
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD>
One really thight table...
</TD>
</TR>
</TABLE>
<TR>
<TD>
One really thight table...
</TD>
</TR>
</TABLE>
quote:Original post by Anonymous Poster
<table cellpadding=0 cellspacing=0>
ALSO, don''t forget that when you add anything into the < tr > tags to make them all on one line. Like this:
<tr><td><img src="banner.gif" height="80" width="640" alt="banner"></td></tr>
as any space between the < tr > and < td > or < td > and < img > gets shown on screen.
BeS
It''s Da BOMB Baby!!!
. o O ~
A little nonsense now and then,
is relished by the wisest men
~ O o .
-- Willy Wonka
quote:Original post by Anonymous Poster
ah yes now i remember...
CELLPADDING=0
CELLSPACING=0
sorry, but i just LOVE redundancy
NOT redundancy. padding is between internal element and cell border, spacing is between individual cells.
BeS
It''s Da BOMB Baby!!!
. o O ~
A little nonsense now and then,
is relished by the wisest men
~ O o .
-- Willy Wonka
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement