liketo findoutwhy wrote:
> There was something I read about border-spacing in CSS being able to
> adjust the table's border spacing, replacing HTML's attribute
> cellspacing="0", but then IE 6 won't honor it and it still requires
> the cellspacing="0" to make it work.
Even IE 7 doesn't support border-spacing.
> However, when the border-collapse: collapse is applied, I found that
> even IE 6 will make the cell spacing go away... and seems like no
> need to especially apply a cellspacing for IE 6.
Indeed. In the special case where you want to set spacing between borders to
zero, border-collapse: collapse works fine in all browsers we need to care
about. In that case, border-spacing has no effect.
> I wonder if there is a bulletproof way to specify cellspacing="0" and
> cellpadding="0" or other values by CSS alone and make it work across
> IE 6, 7, FF 2, 3, Safari 3, Opera 9, and Google Chrome... if somebody
> knows? Thanks very much!
For cellspacing, you just said it.
Cellpadding is a completely different issue, and it can be handled simply by
setting padding for the cells. To set it to zero, you would just set
th, td { padding: 0; }
Yucca
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/