मैं एक COLGROUP में पृष्ठभूमि रंग लागू करना चाहता हूं, लेकिन केवल तालिका के TBODY के भीतर।सीएसएस चयनकर्ता जो COLGROUP के लिए एक शैली लागू करता है लेकिन केवल टीबीओडीवाई (THEAD नहीं) के भीतर?
<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>
वहाँ एक सीएसएस चयनकर्ता (या कुछ इसी तरह) मेरे ठेड और tbody में "सप्ताह के अंत में" COLGROUP को एक अलग शैली लागू कर सकते हैं जो है: निम्नलिखित के रूप में एक संरचना के साथ एक ठेठ कैलेंडर तालिका को देखते हुए?
ठीक है, जानकारी के लिए धन्यवाद! – Manne