 |
|
 |
|
| Franscape
Development Tutorials |
You are currently viewing the Spreadsheet Effect With HTML Tables tutorial, in the 'HTML' category.
-----------------
If you assign a 1px border to every td, you would expect there to be a 2px border that separates every cell from the other adjacent one. You may reduce every 2px border to just one, as follows:
.table_name table {
border-collapse: collapse; /* This is the key */
}
.table_name td {
border: solid 1px #111111;
padding: 4px;
}
|
-----------------
· Discuss this and other tutorials on the FS Forums.
· Return to the
HTML tutorial listing.
· Return to the Tutorial Overview.
· Return Home.
|
|
|
|
|
|
|
 |