I have a header row in a sortable html table. I want to show up arrow / down arrow on the currently sorted column. I know that I can use a background image for this, but the site is third party hosted and I can't upload image files to it. Only edit the stylesheet.
Is there anyway to 'draw' an arrow via CSS and stick it in the background? Or perhaps use after
and content
to accomplish something similar? The th
have classes to indicate sort up vs. sort down.
<table>
<thead>
<th class="sortup">A</th> <!-- Draw an arrow via CSS? -->
<th>B</th>
<th>C</th>
</thead>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>