Hey everyone,
I have included two example html files, example_one.html and example_two.html. This first one works very well and avoids styling the li elements that are in a nested ul. However, I apply the same idea with nested tables and nothing gets styled. My CSS I supposed to style only the th elements that are children of the tr element which is a child of the table, with a class of main_section, but nothing happens.
My second solution is applying the style for the all table ths, and overwriting the nested table with a descendent selector. Check out the code I have attached bellow.