HTML CSS examples for CSS Widget:Table Cell
Select all the first td's in a table
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> table tr td:first-child { color:Chartreuse; } </style> <!--from w w w . ja v a 2s. co m--> </head> <body> <table> <tbody> <tr> <td>Lorem</td> <td>Lorem</td> </tr> <tr> <td>Lorem</td> <td>Lorem</td> </tr> <tr> <td>Lorem</td> <td>Lorem</td> </tr> </tbody> </table> </body> </html>