I want to use font-variant: small-caps on the text of a TD
When I use the following it applies small-caps to everything within the TD
td {
font-variant: small-caps;
}
I only want to to apply to a TD when it contains text only, not the text relating to a a href or input etc.
Normally I'd do this with classes, but I don't have the option in the case.
I've tried:
td:not(a) {
font-variant: small-caps;
}
But that didn't seem to help. Is this possible ?
Thanks