I’m trying to find a way to add a class to a td based on whether it’s positive or negative, not within the first <tr> and not within the first <td> of a <tr>.
I can’t find much on the either issue through searching. Does anyone know how to do this?
You mean if the
<td>contains a positive or negative number? If that’s what you’re trying to do, you could use this:I tested this on the following table and it worked fine: