The empty-cells property
Normal
| Heading 1 |
Heading 2 |
Heading 3 |
| Foo |
Bar |
|
| Foo |
|
Baz |
|
Bar |
Baz |
Mozilla shows the empty cells by default.
empty-cells: show;
| Heading 1 |
Heading 2 |
Heading 3 |
| Foo |
Bar |
|
| Foo |
|
Baz |
|
Bar |
Baz |
Internet Explorer can't handle this.
| Heading 1 |
Heading 2 |
Heading 3 |
| Foo |
Bar |
|
| Foo |
|
Baz |
| |
Bar |
Baz |
Using some javascript
| Heading 1 |
Heading 2 |
Heading 3 |
| Foo |
Bar |
|
| Foo |
|
Baz |
|
Bar |
Baz |
This table doesn't use (in the markup) and works in IE as well.
It uses a conditional comment to target only IE.
Another test, when 'forgetting' the ending TD's in a TR
| Heading 1 |
Heading 2 |
Heading 3 |
| Foo |
Bar |
Baz |
| Foo |
| |
Bar |
Home - More stuff