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
Printable View
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
You might need to play with the margins as well, for td, th, tr, etc.Code:table {
border-collapse: collapse;
}
td, th {
border: 1px solid black;
}
Cool! I was just missing:
Thanks again,Code:table {
border-collapse: collapse;
}
michael