navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

cellspacing css alternative

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> cellspacing css alternative
Page: [1]
 
sljsh

 

Posts: 76
Joined: 1/30/2002
Status: offline

 
cellspacing css alternative - 9/10/2003 17:26:57   
Hi. Is there a css alternative to the table element cellspacing?.

Thanks,

Lisa

< Message edited by sljsh -- 9/10/2003 5:29:18 PM >
c1sissy

 

Posts: 5079
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: cellspacing css alternative - 9/11/2003 7:08:58   
Hi Lisa:
I don't know if this will help you out or not. I was also looking for the same solution myself, and decided to do a search on it.

http://www.w3.org/TR/REC-CSS2/tables.html

http://forums.devshed.com/t70164/s.html

I hope this helps you out until someone who really knows this comes along!

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to sljsh)
cosegirl

 

Posts: 1
Joined: 1/7/2005
Status: offline

 
RE: cellspacing css alternative - 1/7/2005 16:15:29   
1) Try this: [works in mozilla, ns6, ie6 ]

/* Equivalent for cellspacing=0 */
table{
border-collapse: collapse;
}

/* Equivalent for cellspacing=5px */
/* Works in IE5+ */
--------------------
table{
border-collapse: collapse;
border-width: 5px;
}

/* Works in NN */
--------------------
table{
border-collapse: collapse;
border-spacing: 5px;
}

2) Detail about border-collapse:
http://www.blooberry.com/indexdot/css/properties/table/bcollapse.htm

(in reply to c1sissy)
d a v e

 

Posts: 4010
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: cellspacing css alternative - 1/7/2005 18:02:01   
additionally... eric meyer says that because margins are not applied to table cells then you *can* use the css2 property border-spacing but support for this is pretty bad. he suggests leaving it in the html as a table attribute (i.e. <table cellspacing="0">)

_____________________________

David Prescott
Gekko web design

(in reply to cosegirl)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> cellspacing css alternative
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts