View Full Version : Table "spacing" attribute?


walltowallsims
02-10-2004, 03:29 PM
Is there a table spacing attribute? I printed out Lisa's example of a style sheet and I only see the table padding. I never change that, I only adjust the spacing.

THANKS!!

MaGiCSuN
02-10-2004, 06:19 PM
cellspacing is in css margin. So like this:

td { margin-left: #px; }

that's what i found on a website:

border-collapse is crucial here - but cellspacing is done to individual tds using margin, and cellpadding uses, hem, padding, also applied to the cell. If you apply them to the table element, the entire table gets spaced/padded (as a block).

and more about it here:

http://tom.me.uk/html-to-css/cellspacing.html

Love,
Mirna

walltowallsims
02-10-2004, 08:19 PM
Ok!! THANKS!! :)