Here is the code snippet I am using:
<table width="562" cellspacing="0" cellpadding="0" border="0" align="center" class="genericClass">
(nested tags are here)
</table>
These are the related styles in my stylesheet:
table.genericClass a { ... }
table.genericClass p,li,div,td {}
However, all the div
, p
, and other listed tags are inheriting the mentioned styles which is not the desired behavior. Could there be an issue with my syntax?