Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Nibbles

Good 'ol Table HTML

This topic is 6081 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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."

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Oh man, I forgot too!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
<table cellpadding=0 cellspacing=0>

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD>
One really thight table...
</TD>
</TR>
</TABLE>

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
ah yes now i remember...
CELLPADDING=0
CELLSPACING=0
sorry, but i just LOVE redundancy

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!