MaGiCSuN
08-15-2003, 04:06 PM
Oh yes, i'm going to ask something stupid for a change lol.
I have this idea in my head that i can't get out of it so i want to solve it. I want my link buttons on my page to be faded, but when you hover they go to opacity 100%. I found this code on the net:
onmouseover="this.style.filter='alpha(opacity=0,finishOpacity=1 00,style=2)'" onmouseout="this.style.filter=''"
cool code, but how do i insert that into my .css file? Is that even possible? i just want to apply it to the img {} part, since those buttons are the only images on the index.html page that are linked with this stylesheet (i have two stylesheets). I have no idea how to edit this code so that it works into my stylesheet.
If someone knows another way, i would be glad to hear it. I don't want to insert it into the <img> tag itself, since it bothers me when i have to update my layout and i have to edit it all.
thanks
Love,
Mirna
I have this idea in my head that i can't get out of it so i want to solve it. I want my link buttons on my page to be faded, but when you hover they go to opacity 100%. I found this code on the net:
onmouseover="this.style.filter='alpha(opacity=0,finishOpacity=1 00,style=2)'" onmouseout="this.style.filter=''"
cool code, but how do i insert that into my .css file? Is that even possible? i just want to apply it to the img {} part, since those buttons are the only images on the index.html page that are linked with this stylesheet (i have two stylesheets). I have no idea how to edit this code so that it works into my stylesheet.
If someone knows another way, i would be glad to hear it. I don't want to insert it into the <img> tag itself, since it bothers me when i have to update my layout and i have to edit it all.
thanks
Love,
Mirna