1.- Margin, border and padding test for separate and collapse border models:
Separate:
Carnivores | Primates |
Tiger | Sifaka |
Collapse:
Carnivores | Primates |
Tiger | Sifaka |
2.- Test for different border widths in collapsing border model:
1px | 1 | 2 |
3 | 4 |
2px | 1 | 2 |
3 | 4 |
3px | 1 | 2 |
3 | 4 |
4px | 1 | 2 |
3 | 4 |
10px | 1 | 2 |
3 | 4 |
3.- A sample wide-border table in both modes:
Separate:
Carnivores | Primates | |
---|---|---|
Tiger | Grey Wolf | Indri |
Cheetah | Cape hunting dog | Sifaka |
Red fox | ||
Wildcat | Fennec | Dwarf lemur |
Collapse:
Carnivores | Primates | |
---|---|---|
Tiger | Grey Wolf | Indri |
Cheetah | Cape hunting dog | Sifaka |
Red fox | ||
Wildcat | Fennec | Dwarf lemur |
4.- collapse
should overrule cellspacing
These tables should look the same:
<table style="border-collapse: collapse;">
First TD of first TR | Second TD of first TR | Third TD of first TR |
First TD of second TR | Third TD of second TR |
<table style="border-collapse: collapse;" cellspacing="10">
First TD of first TR | Second TD of first TR | Third TD of first TR |
First TD of second TR | Third TD of second TR |