This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > July 2007 > Equivalent for cellpadding="0" cellspacing="0"?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Equivalent for cellpadding="0" cellspacing="0"?
Big Bill

2007-07-09, 6:19 pm

What's the CSS equivalent for that frequently found table coding?
Roughly speaking? I know that speaking of equivalents can itself lead
one into a semantic nightmare but, loosely speaking, what would you
guys put?

BB
--

http://www.kruse.co.uk/internet-mar...ll-business.htm
http://www.kruse.co.uk/close-ended-questions.htm
http://www.crystal-liaison.com/giving/
Andreas Prilop

2007-07-09, 6:19 pm

On Mon, 9 Jul 2007, Big Bill wrote:

> What's the CSS equivalent for that frequently found table coding?


Both attributes (cellpadding, cellspacing) are in HTML 4 Strict.
So just keep "cellpadding=0" and "cellspacing=0".

For values other than 0, you might better take the padding property
from CSS.

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/sea...:Alan.J.Flavell
Johannes Koch

2007-07-09, 6:19 pm

Big Bill schrieb:
> What's the CSS equivalent for that frequently found table coding?


See the thread "Cell Padding and Spacing" that started only a week ago.

--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Jonathan N. Little

2007-07-09, 10:18 pm

Big Bill wrote:
> What's the CSS equivalent for that frequently found table coding?
> Roughly speaking? I know that speaking of equivalents can itself lead
> one into a semantic nightmare but, loosely speaking, what would you
> guys put?
>
> BB



TABLE { border-collapse: collapse; }
TD, TH { padding: 0; }

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews