W3C home > Mailing lists > Public > www-style@w3.org > July 2001

RE: Cellspacing in CSS1 or CSS2

From: Peter Foti (PeterF) <PeterF@SystolicNetworks.com>
Date: Tue, 17 Jul 2001 15:55:48 -0400
Message-ID: <A10A983C9DFBD4119F0300104B2EA6B7085DE6@ZIPPY>
To: "'Svgdeveloper@aol.com'" <Svgdeveloper@aol.com>
Cc: "'www-style@w3.org'" <www-style@w3.org>
I may be wrong, but I think that this *should* be handled using existing
CSS properties padding (and margin?), in which case you would apply the
style to the td's of your table.  No change would be required for CSS3. 
Of course, that doesn't mean that any UA's support this yet (haven't
tried it), but I believe this would be the true CSS method for
formatting the spacing between cells.
-Peter Foti

-----Original Message-----
From: www-style-request@w3.org [mailto:www-style-request@w3.org]On
Behalf Of Svgdeveloper@aol.com
Sent: Tuesday, July 17, 2001 3:13 PM
To: www-style@w3.org
Subject: Re: Cellspacing in CSS1 or CSS2

In a message dated 17/07/01 20:02:37 GMT Daylight Time, 
mjohnson@marcdavidjohnson.com writes: 

Saw this message (and another about cellspacing / centering / etc.) and 
thought I'd whip up a VERY quick page. 


This page uses 4 images, text, etc. and NO TABLES (tables should be
for laying out data, not for laying out a page). CSS has the ability to 
'kiss' (push elements together) images, divs, etc. as you can see by the

source of the page. Now, if anyone has any questions about the code or
the example expanded in scope, let me know. 

Hi Marc, 

Thanks for the reply. However my question was about cellspacing in

The use which lay behind the question was, as it happens, for laying out
in a table. I take it from your reply that neither CSS1 nor CSS2 can
with this. 

I see no reason why a table influenced by CSS rules should fail to
the control which the corresponding HTML attributes provides. It should
possible to display data in tables in a manner which the designer

Tony Haddon's post would seem to confirm that this functionality has
been omitted. But it would be nice to have an answer from someone on the
CSS WG about the background to this seeming omission. If you, Marc, are
the WG please forgive my not being aware of that. 

Andrew Watt 
Received on Tuesday, 17 July 2001 15:50:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:58 UTC