|
-
Oct 21st, 2002, 05:09 PM
#1
Thread Starter
Frenzied Member
(HTML & CSS) table borders.
I want a 1px black line for my table borders but "border:1px solid black;" only does it on the outside. I had the bright idea to do it to the cells but that gives a double when the cells touch. Any ideas?
Thanks
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Oct 21st, 2002, 08:24 PM
#2
Black Cat
Code:
table {
border-collapse: collapse;
}
td, th {
border: 1px solid black;
}
You might need to play with the margins as well, for td, th, tr, etc.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Oct 22nd, 2002, 08:40 AM
#3
Thread Starter
Frenzied Member
Cool! I was just missing:
Code:
table {
border-collapse: collapse;
}
Thanks again,
michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|