Previous Message
Next Message

cell spacing - how do you write this in css?

Sent by Philippe Wittenbergh on 26 September 2005 05:05

On 26 Sep 2005, at 12:32 pm, Tina Clarke wrote:

> Please could someone tell me how to put cell spacing in a sheet? How 
> do you
> write it out? I've been fiddling around and can't figure it out. I'm 
> trying
> to change a html template over to a sheet for the formatting of the 
> tables.
> (can't use divs in this instance)

table {border-collapse:separate; border-spacing: 1em 2em /* left-right 
and top-bottom*/}
will give a 1 em value space on the left and right of each table cell, 
2 em space at top and bottom.

*Not* supported by IE win [1].


[1] <table cellspacing="5"> is perfectly valid (x)html.

Philippe Wittenbergh

css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread: