javascript - How to add the background-color and how to highlight the border of <tr> I am using datatables 1.9.4 version -
is possible highlight border of <tr>
, can append background-color same <tr>
inside table?
according this answer, can style tr
borders if border-collapse
set on table.
css :
table {border-collapse:collapse;} tr {border:2px solid black;}
html :
<table> <tr> <td>cell</td><td>cell</td><td>cell</td> </tr> </table>
you can see result in fiddle.
i don't understand question tr
bgcolors maybe fiddle above give answer.
Comments
Post a Comment