Old 09-04-2003, 06:04   #1 (permalink)
lucidcreations
Part of the 3 out of 4
 
lucidcreations's Avatar
 
Join Date: Feb 2003
Location: cheshire
Posts: 2,081
CSS table control

Hey,

I'm trying to create a new site today using minimal HTML and all CSS. I can do everything I want so far except one thing. Whats the equivalent code in CSS for cell-spacing ="1" for table???

Its really doing my head in now.
__________________
Jase
  Reply With Quote
Old 09-04-2003, 06:24   #2 (permalink)
Luke Redpath
Barney army!
 
Luke Redpath's Avatar
 
Join Date: Mar 2003
Location: London
Posts: 696
I would imagine it's:

[code:1:77d7d16f7d]
td {
margin: 1px;
}
[/code:1:77d7d16f7d]
__________________
Luke Redpath .::. Software Engineer .::. Reevoo - Real Reviews From Real Customers
  Reply With Quote
Old 09-04-2003, 06:25   #3 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,236
If you're gonna be using css fro the layout then you're really best dropping the tables and using divs. margin: 1px would then give you a similar result.

hth

J
__________________
That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
  Reply With Quote
Old 09-04-2003, 07:19   #4 (permalink)
lucidcreations
Part of the 3 out of 4
 
lucidcreations's Avatar
 
Join Date: Feb 2003
Location: cheshire
Posts: 2,081
hmm, never though about using just divs before......I don't know been in this game since 1995 and still taking advice from students cheers both
__________________
Jase
  Reply With Quote
Old 09-04-2003, 15:31   #5 (permalink)
Luke Redpath
Barney army!
 
Luke Redpath's Avatar
 
Join Date: Mar 2003
Location: London
Posts: 696
[quote:906cf69ee2="smallbeer"]If you're gonna be using css fro the layout then you're really best dropping the tables and using divs. margin: 1px would then give you a similar result.

hth

J[/quote:906cf69ee2]

Unless you want to display tabular data...
__________________
Luke Redpath .::. Software Engineer .::. Reevoo - Real Reviews From Real Customers
  Reply With Quote
Old 09-04-2003, 16:08   #6 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,236
[quote:2efe4587d2="Luke Redpath"][quote:2efe4587d2="smallbeer"]If you're gonna be using css fro the layout then you're really best dropping the tables and using divs. margin: 1px would then give you a similar result.

hth

J[/quote:2efe4587d2]

Unless you want to display tabular data...[/quote:2efe4587d2]

yadda yadda yadda
__________________
That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8