Click to See Complete Forum and Search --> : How do I increase the space between cells in tables?


jammer20002
12-31-2003, 03:06 PM
Can someone tell me how I can increase the space between cells in a table using CSS?

I've tried changing various parameters, but nothing seems to work?

The only way I can change the space is by changing the tables 'cell space' parameter.

But, doing this does not give me the desired effect, as all I want to do is change the space between the left and right sides and not top and bottom.

Thanks.


Jam

PeOfEo
12-31-2003, 03:20 PM
<td style="margin-top:10px; margin-left:10px; margin-right:10px; margin-bottom:10px; position:relative;">
Try playing with one before you apply it to all, try swapping out absolute and relative and see what it does.

ray326
12-31-2003, 04:04 PM
Since I don't know exactly what effect you're trying for, here is everything you ever wanted to know about table formatting but were afraid to ask.

http://www.w3.org/TR/CSS2/tables.html#propdef-table-layout