Я хотел бы применить фоновый цвет к COLGROUP, но только в TBODY таблицы. Учитывая типичную таблицу календаря со структурой следующим образом:
<table>
<colgroup class="weekdays" span="5"/>
<colgroup class="weekend" span="2"/>
<thead>
<tr>
<td/><td/><td/><td/><td/>
<!-- I'd like the columns of the following two cells to be untouched. -->
<td/><td/>
</tr>
</thead>
<tbody>
<tr>
<td/><td/><td/><td/><td/>
<!-- I'd like selector to apply the style only to the columns of the following two cells -->
<td/><td/>
</tr>
...
</tbody>
</table>
Есть ли селектор CSS (или что-то подобное), который позволяет мне применять другой стиль к COLGROUP в выходные дни в THEAD и TBODY?