On Wed, 25 Apr 2007, Robert Lane wrote:

> I put a border on some td's but am getting a gap between them.  What
> style gets rid of that?

In theory, setting border-spacing: 0 for the table. But this doesn't work 
on IE, though the corresponding HTML attribute <table cellspacing="0"> 
does.

You could consider using border-collapse: collapse for the table. It works 
on IE too, and it removes all spacing between cells (between cell 
borders). But it also collapses borders so that adjacent borders are not 
separated, so e.g. 1px border against 1px border makes 1px border, not two 
two 1px borders that look like on 2px border.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to