mike509123
MIS
Hi
I have the following two lines in my code (see below) the only difference is that the title is different in each and one is disabled while the other is not. I created a css style see below which is applied to both. Is it possible to create two css styles and have one applied to the disabled link and one applied to the enabled link? (without modifying the class name of each)
.menuItem {
FONT-WEIGHT: bold;
FONT-SIZE: 11px;
CURSOR: hand;
}
<A class="menuItem" onmouseover="this.className='menuItem'" title="Test1" disabled onmouseout="this.className='menuItem'">
<A class="menuItem" onmouseover="this.className='menuItem'" title="Test2" onmouseout="this.className='menuItem'">
I have the following two lines in my code (see below) the only difference is that the title is different in each and one is disabled while the other is not. I created a css style see below which is applied to both. Is it possible to create two css styles and have one applied to the disabled link and one applied to the enabled link? (without modifying the class name of each)
.menuItem {
FONT-WEIGHT: bold;
FONT-SIZE: 11px;
CURSOR: hand;
}
<A class="menuItem" onmouseover="this.className='menuItem'" title="Test1" disabled onmouseout="this.className='menuItem'">
<A class="menuItem" onmouseover="this.className='menuItem'" title="Test2" onmouseout="this.className='menuItem'">