How can I add a background color to a column header?

How can I add a background color to a column header?

lidofernandezlidofernandez Posts: 1Questions: 1Answers: 0

I need to add a background color to a column header label that only takes the area of the label and not the whole th area. It would be something like this:

<th class="sorting_asc" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-label="columnlabel: activate to sort column descending" aria-sort="ascending">

<span>columnlabel</span>

</th>

This discussion has been closed.