| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Part of the 3 out of 4
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
|
|
|
|
|
|
#2 (permalink) |
|
Barney army!
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
|
|
|
|
#3 (permalink) |
|
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.
|
|
|
|
#5 (permalink) |
|
Barney army!
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
|
|
|
|
#6 (permalink) |
|
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.
|
|
![]() |