ChrisStanyonis right but his solution does not fix your problem completely. Beside the piece of css code he wrote, you also need to change the cellspacing attribute of the table from 1 to 0. That one would make the table have a border of 1 pixel and in addition, show an individual border for every cell, but each cell would be distanced from the adiacent cells in the same row by 1 px.
Main Topics
Browse All Topics





by: ChrisStanyonPosted on 2009-10-28 at 19:18:13ID: 25690125
You can do this with CSS. Depending on whether you already have CSS in your page you will need to add the following to it.
td {
border: 1px solid #FF0000;
}
That will add a 1px red border around each cell. You may want to set your cellpadding and cellspacing to 0 otherwise you will end up with double lines around. Also remove the border="1" from your table.
If you don't have CSS in your page, then add the following inside the <head> section
<style type="text/css">
td {
border: 1px solid #FF0000;
}
</style>