a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

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

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

 

Need help with spacing and padding and border

 
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 and Accessibility >> Need help with spacing and padding and border
Page: [1]
 
dzirkelb1

 

Posts: 1321
Joined: 10/5/2004
From: Cedar Rapids, Iowa
Status: offline

 
Need help with spacing and padding and border - 3/9/2005 11:54:03   
I wish to set up a table using CSS that has the following properties:

padding=0
spacing=0
border=0

However, I would like a border surrounding the whole table with a color, but, not the cells inside the table...what is the stuff I'll need for this?
CelticDragon

 

Posts: 227
Joined: 11/14/2003
From: Dublin, Ireland
Status: offline

 
RE: Need help with spacing and padding and border - 3/10/2005 4:39:14   
Hey Dzirkelb1,

the only thing I can think of is something I've done before for something similar....

Create one table with one row, name that .maintable - you can have your border code, width and background colour declared in that.
Then have another table named .insidetable or something and do your padding, spacing, border:0px; in that one and then away you go as usual....

Hope that is of help

_____________________________

I Lost My Stuff - If you lost it, someone found it!

(in reply to dzirkelb1)
c1sissy

 

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

 
RE: Need help with spacing and padding and border - 3/10/2005 7:29:49   
Hi dzirkelb1,
You might want to try the W3Specs on tables to get yourself familiar with this.

A few tutorials that might help you out

http://www.htmlcenter.com/tutorials/tutorials.cfm/61/CSS/

http://www.htmlcenter.com/tutorials/tutorials.cfm/61/CSS/

http://css.nu/articles/table-in-css.html

http://academ.hvcc.edu/~kantopet/xhtml/index.php?page=css+table+styling&parent=xhtml+tables

I hope that some of these are helpful to you! Good luck, and if you have any problems and don't understand something just post in here. I"m not familar with tables to much, haven't had to really build any of them, so this is far from a strong point with me. :)


_____________________________

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 CelticDragon)
dzirkelb1

 

Posts: 1321
Joined: 10/5/2004
From: Cedar Rapids, Iowa
Status: offline

 
RE: Need help with spacing and padding and border - 3/10/2005 10:42:24   
Thanks everyone!!

Ya, tables is old school...but, its data display :)

(in reply to c1sissy)
c1sissy

 

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

 
RE: Need help with spacing and padding and border - 3/10/2005 10:54:52   

quote:

ORIGINAL: dzirkelb1

Thanks everyone!!

Ya, tables is old school...but, its data display :)


Tables aren't old school for data. I hope some of the links help you out.

I should really practice a few of them myself with css so that I am familar with them:)


_____________________________

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 dzirkelb1)
dzirkelb1

 

Posts: 1321
Joined: 10/5/2004
From: Cedar Rapids, Iowa
Status: offline

 
RE: Need help with spacing and padding and border - 3/10/2005 11:27:26   
Ya, the last one gave me the info I needed right away..makes it a lot easier than chaning attributes on all of them!

(in reply to c1sissy)
c1sissy

 

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

 
RE: Need help with spacing and padding and border - 3/10/2005 11:53:42   
Keep us updated on your progress, I'm always interested in how people make out with their stuff after posting for help!:)

_____________________________

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 dzirkelb1)
dzirkelb1

 

Posts: 1321
Joined: 10/5/2004
From: Cedar Rapids, Iowa
Status: offline

 
RE: Need help with spacing and padding and border - 3/10/2005 12:04:40   
I used:
table { border-collapse: collapse; }
for my .css page and it took care of the main problem I was having...I just couldn't figure out what the correct code was :)

(in reply to c1sissy)
c1sissy

 

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

 
RE: Need help with spacing and padding and border - 3/10/2005 12:22:01   
Thanks for posting the solution to this. If someone happens to search this topic in the future, the answer is here for them.

Good luck with your site!

_____________________________

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 dzirkelb1)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> Need help with spacing and padding and border
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