View Single Post
Old 05-11-2004, 10:59 AM   #2 (permalink)
Rotkiv
Code Monkey
 
Rotkiv's Avatar
 
Join Date: Apr 2004
Location: Silicon Valley, CA
Posts: 64
Rotkiv is on a distinguished road
Send a message via AIM to Rotkiv Send a message via MSN to Rotkiv
I'm lost. why do you need javascript to impliment the stylesheet?

Quote:
I'm trying to run a .js menu with other style settings applied to the menu links. This .js script contains text-decoration:none like: //

document.write('a.SMN17519520 {text-decoration:none; color:#1813B5; font-weight: 700; font-family: Verdana; font-size: 15px; font-style:normal;} ');
document.write('a.SMN17519520:hover {text-decoration:none; color:#FF0F0F; }'); //

whats happening is that the default a. class style is still being applied to the .js menu overwriting the setting in the .js menu file..

Any idea for me where to look
i have no idea what's going on in there.
Rotkiv is offline   Reply With Quote