I have a table like this:
Table1:
<table> <tr> <th>Title1</th> <th>Title2</th> <th>Title3</th> <th>Title4</th> </tr> <tr> <td>Text1</td> <td>Text2</td> <td>Text3</td> <td>Text4</td> </tr> <tr> <td>Text1</td> <td>Text2</td> <td>Text3</td> <td>Text4</td> </tr> </table>
Table2:
<table> <tr> <th>Title1</th> <th>Title2</th> <th>Title4</th> </tr> <tr> <td>Text1</td> <td>Text2</td> <td>Text4</td> </tr> <tr> <td>Text1</td> <td>Text2</td> <td>Text4</td> </tr> </table>
Table3:
<table> <tr> <th>Title4</th> </tr> <tr> <td>Text4</td> </tr> <tr> <td>Text4</td> </tr> </table>
Here I have 3 tables (3 tables are not constants, but all tables have a Title4 title, but a different position. I need to change the color for all tables for the text "Title4" only without using jquery / javascript. Only use in css. Any offers?
source share