+ 1

How i color particular columns?

25th Feb 2017, 2:40 PM
Rahul Singh
Rahul Singh - avatar
3 Answers
+ 19
<style>td:nth-of-type(even){background-color:yellow;}</style>
25th Feb 2017, 3:01 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 2
thank you
25th Feb 2017, 3:03 PM
Rahul Singh
Rahul Singh - avatar
+ 2
<td style="background-color: red;">value column</td> or in tr
25th Feb 2017, 3:05 PM
Albertz
Albertz - avatar