http://jsfiddle.net/ghSkp/58/
why not working border on table-cell?
You shouldn't put DIVs with a property of display: table-cell; in a TR as a replacement for TDs.
display: table-cell;
Semantically, a TR should include TDs or THs as direct children.
Can you write an example with children?
@nuodas159,
Appropriate table structure:
< table > < tbody > < tr> <th>Header 1</th> <th>Header 2</th> </tr> <tr> <td>Cell 1</td> <td>Cell 2</td> </tr> </tbody> </table>
What @Senff is saying is that you can't intermittently switch between div's with display: table-cell and <td>'s and <th>'s inside of a table element
display: table-cell
<td>
<th>
Either commit to a CSS table, or an HTML table, not both
Oke. Thanks then :). I tried to search another attempt
http://jsfiddle.net/ghSkp/58/
why not working border on table-cell?
You shouldn't put DIVs with a property of
display: table-cell;in a TR as a replacement for TDs.Semantically, a TR should include TDs or THs as direct children.
Can you write an example with children?
@nuodas159,
Appropriate table structure:
What @Senff is saying is that you can't intermittently switch between div's with
display: table-celland<td>'s and<th>'s inside of a table elementEither commit to a CSS table, or an HTML table, not both
Oke. Thanks then :). I tried to search another attempt