I'd like to selectively apply CSS to only certain column headings in a Forms table. When I add a CSS class to a specific column the class only show up for in the table body (tbody) of the output. The actual column heading exists in the table header (thead) section and therefore won't apply the CSS.
I found a work around as below, but it requires that I know the unique field number which obviously isn't ideal.
label[for="Field19(1)"] { -ms-transform:rotate(-45deg); /* IE 9 */ -moz-transform:rotate(-45deg); /* Firefox */ -webkit-transform:rotate(-45deg); /* Safari and Chrome */ -o-transform:rotate(-45deg); /* Opera */ }
Is there any other way I can selectively apply CSS to specific column headings in a Forms table?
Thanks.