Menu
I currently have these 2 styles on a .css file
[code=php]
table.contacts
{font-family: Verdana;
font-size: 8pt;
border-right: 1px #ff00ff solid;
background-color: #ffaaff;}
table.contactsDisabled
{font-family: Verdana;
font-size: 8pt;
border-right: 1px #ff00ff solid;
background-color: #cc99ff;}
Is there any way that I can add both of these classes to a table tag and then change them as the specific div tag is disabled or enabled?
(i.e. class=”contacts” is the main class but when I disable the div tag which surrounds this table I want the class to change to class=”contactsDisabled”)
Is this possible?
Regards