suppose have nested tables in html this
<table> <tr> <td><table> <tr> <td></td> <td></td> </tr> </table></td> <td></td> </tr> <tr> <td><table> <tr> <td></td> <td></td> </tr> </table></td> <td></td> </tr> </table>
now want style parent table without adding markup class or ids. how can in css.i want select parent table.
you can't specify parent table in selector, can specify child tables, can style tables, , override style child tables:
table { background: red; } table table { background: none; }
Comments
Post a Comment