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

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -