|
| |
|
|
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!
|
|
|
|
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 :)
|
|
|
|
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!
|
|
|
|
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 :)
|
|
|
|
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/
|
|
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
|
|
|