Here is some HTML code that needs styling:
<tr>
<td>Test</td>
<td>324</td>
</tr>
The default CSS setting is text-align:left
However, I am looking to apply text-align:center
to any <td>
element that contains digits.
Since I have around 50 HTML files, manually adding a class is not feasible.