I have my colgroups generated dynamically and they style each group with a background color. Is there a way to add a label on top of each group?
My colgroup looks like this:
<colgroup>
<col>
<col span="3" style="background-color: #ccc;">
<col span="3" style="background-color: #ddd;">
<col span="3" style="background-color: #ccc;">
</colgroup>
And here is how it renders:
How do I put labels on top of each group? I can't select them to make that kind of change so maybe there is a jQuery API or even plugin for it?