Chrome / Firefox doesn't seem to display borders on tr , but it displays the border if the table tr td selector.
How to set border to tr?
My attempt that does not work:
HTML
<table> <tbody> <tr> <td> Text </td> </tr> </tbody> </table>
CSS
table tr { border:1px solid black; }
http://jsfiddle.net/edi9999/VzPN2/
This is a similar question: Setting a border for the tr table works in everything except IE 6 and 7 , but it seems to work everywhere except IE.
html css table
edi9999 Sep 07 '13 at 23:45 2013-09-07 23:45
source share