title: CSS selector that applies a style to COLGROUP but only within TBODY (not THEAD)?
body: <p>I would like to apply a background-color to a COLGROUP, but only within the TBODY of the table. Given a typical calendar table with a structure as the following:</p>
  
  <pre><code>&lt;table&gt;
    &lt;colgroup class="weekdays" span="5"/&gt;
    &lt;colgroup class="weekend" span="2"/&gt;
    &lt;thead&gt;
      &lt;tr&gt;
        &lt;td/&gt;&lt;td/&gt;&lt;td/&gt;&lt;td/&gt;&lt;td/&gt;
  
        &lt;!-- I'd like the columns of the following two cells to be untouched. --&gt;
        &lt;td/&gt;&lt;td/&gt;
      &lt;/tr&gt;
    &lt;/thead&gt;
    &lt;tbody&gt;
      &lt;tr&gt;
        &lt;td/&gt;&lt;td/&gt;&lt;td/&gt;&lt;td/&gt;&lt;td/&gt;
  
        &lt;!-- I'd like selector to apply the style only to the columns of the following two cells --&gt;
        &lt;td/&gt;&lt;td/&gt;
      &lt;/tr&gt;
      ...
    &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Is there a CSS selector (or something similar) which lets me apply a different style to the "weekend" COLGROUP in the THEAD and TBODY?</p>