This doesn't seem to show borders, although that's supposed to be the only reason for the CSS property border-collapse
:
Did I make some mistake here? Or isn't this but not implemented in current browsers (FF35/IE11)?
This doesn't seem to show borders, although that's supposed to be the only reason for the CSS property border-collapse
:
Did I make some mistake here? Or isn't this but not implemented in current browsers (FF35/IE11)?
http://www.w3.org/TR/CSS21/tables.html
states this:
17.6 Borders
[...]
'border-collapse'
Value: collapse | separate | inherit
Initial: separate
[...] The value 'separate' selects the separated borders border model. The value 'collapse' selects the collapsing borders model. [...]17.6.1 The separated borders model
[...] Rows, columns, row groups, and column groups cannot have borders (i.e., user agents must ignore the border properties for those elements). [...]17.6.2 The collapsing border model
In the collapsing border model, it is possible to specify borders that surround all or part of a cell, row, row group, column, and column group.
You say
This doesn't seem to show borders, although that's supposed to be the only reason for the CSS property
border-collapse
It probably is indeed one reason for the existence of that property to allow borders for <tr>
s - but the other way around: separated
is the default-value and collapse
allows you to create those borders around table-rows.
Do border-collapse:collapse on the table CSS, it fixes it.