<table id="tb"> <thead> <tr> <th>利用者</th> </tr> </thead> <thead> <tr> <th>利用者</th> </tr> </thead> <tbody> <tr> <td>aho</td> <td>hoge</td> </tr> <tbody> </table>
aho
を変えたい
これはだめ
#tb tbody tr td:nth-child(0) { width: 10px; color: white; }
こっち
#tb tbody tr td:first-child { width: 10px; color: white; }
#tb tbody tr td:first-child { width: 10px; color: white; }