I have these 2 styles:
Code:
td.on {
background: #660000;
}
td.off {
background: #cccc99;
}
and i am using them as:
Code:
<td class="off" onMouseOver="this.className='on'" onMouseOut="this.className='off'">
which works fine ONLY IF i have those styles embedded on the page, now when i change those styles into an external stylesheet the mouseover doesnot show the td.on style although the off displays fine when the page loads. any reason why?
Code:
td.on {
background: #660000;
}
td.off {
background: #cccc99;
}
and i am using them as:
Code:
<td class="off" onMouseOver="this.className='on'" onMouseOut="this.className='off'">
which works fine ONLY IF i have those styles embedded on the page, now when i change those styles into an external stylesheet the mouseover doesnot show the td.on style although the off displays fine when the page loads. any reason why?