Click to See Complete Forum and Search --> : table border


Cassius
12-09-2004, 09:34 AM
is it possible that i will set a table border to 1 and then all border of the cells will be set to 0, because when in the table i put border="1", it reflects for all cells.

Thank You

NogDog
12-09-2004, 09:51 AM
You could do this using CSS table formatting (http://www.w3.org/TR/CSS21/tables.html#borders). I think what you're looking for is something like:

<head>
<style type='text/css'>
table {
border-collapse: collapse;
border: solid black 1px;
}
td {
border: none;
margin: 0;
padding: 3px;
}
</style>
</head>

Cassius
12-09-2004, 09:58 AM
perfect, that did the trick. thank you very much