CSS Table
CSS Version: CSS2
Table
Property |
Description |
Values |
IE |
F |
N |
W3C |
border-collapse |
Sets the border model of a table |
collapse
separate |
5 |
1 |
7 |
2 |
border-spacing |
Sets the distance between the borders of adjacent cells (only for the "separated borders" model) |
length length |
- |
1 |
6 |
2 |
caption-side |
Sets the position of the caption according to the table |
top
bottom
left
right |
- |
1 |
6 |
2 |
empty-cells |
Sets whether cells with no visible content should have borders or not (only for the "separated borders" model) |
show
hide |
- |
1 |
6 |
2 |
table-layout |
Sets the algorithm used to lay out the table |
auto
fixed |
5 |
1 |
6 |
2 |
The border-collapse property sets the border model of a table.
Inherited: Yes
Example
table
{
border-collapse: separate
} |
Possible Values
Value |
Description |
NN |
IE |
separate |
Selects the separated borders model |
|
5.0 |
collapse |
Selects the collapsing borders model |
|
5.0 |
|