CSS attribute for CELLSPACING

L

little justin

Using CSS to apply styles to tables how do I get the same effect as this
HTML:

<TABLE CELLSPACING=0 CELLPADDING=0>

I have found the CSS attribute for CELLPADDING (i.e padding).
What is the CSS attribute for CELLSPACING?

Thanks!
 
T

Trevor L.

That is interesting , because I am trying to do the same.

CSS seems to do things differently. It specifies border-width, border-style
and border-color but not border-spacing as such (so far as I can find).

Anyway, try this reference
http://www.w3schools.com/css/css_border.asp

You can browse anywhere within http://www.w3schools.com for anything else
you might want to look up. There is a SITE SEARCH box on the right hand side
towards the top
--
Cheers,
Trevor L.


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
M

Murray

Actually border-spacing will give you that effect, but not in all browsers.
It is part of the CSS repertoire, though....
 
A

Al Sparber- PVII

Jon Spivey said:
Hi,
There isn't a CSS equivalant to cellspacing, only cellpadding

Of course there is.

"border-collapse" and "border-spacing"

It's supported by all modern browsers except MSI, of course ;-)

Bloody Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top