Re: Cellspacing in CSS1 or CSS2

Eric Meyer <eric@meyerweb.com> wrote:

> Try 'border-spacing' in CSS2, section 17

Indeed. CSS has cell spacing covered, even if browser support
isn't perfect.

For slicing tables and others, the following set of styles
produces tables without spacing on all but Netscape 4, which
still needs the dreaded 'cellspacing="0" cellpadding="0"
border="0"':

  table { border-collapse: collapse; border-spacing: 0; }
  td { padding: 0; }
  td>img:first-node:last-node { display: block }

-- 
Andrew Clover
Technical Consultant
1VALUE.com AG

Received on Wednesday, 18 July 2001 05:37:56 UTC