Hi,
At long last, I've managed to figure out how to emulate the HTML cellspacing attribute in CSS. So I thought that I'd post it here so everyone can use it.
Here's the code:
.cellspacing td {
border-right : 3px solid #FFF;
}
.cellspacing td:last-child {
border-right : 0px;
}
.cellspacing th {
border-right : 3px solid #FFF;
}
.cellspacing th:last-child {
border-right : 0px;
}
Just add the cellspacing class to a table tag and it creates a white 3px border between each column throughout the table.
It's a shame the CSS designers haven't made this easier by having a proper built-in cellspacing attribute, but until they do, this is the next best thing, I guess.
Enjoy.
Debbie