Tue, 2004-05-11 13:15
hi,
it's getting difficult: is it possible to have a two words text link that react differently onmouseover: first word use some properties and the second word use other properties?
Any idea?
thanks
Tue, 2004-05-11 13:22
#1
a text link that react different to hover
Could you code it like this:
<a href="#">word1 <span>word2</span></a>
and css:
a{text-decoration:none;color:green;} a:hover{text-decoration:underline;color:blue;} a:hover span{text-decoration:none;color:red;}
Tue, 2004-05-11 13:35
#2
a text link that react different to hover
thanks again Arkk, it works fine
Mon, 2004-08-16 19:58
#3
a text link that react different to hover
As a newbie, I'd like to take this question a step further... when I use the above mentioned code, the <span> is still underlined with the <a> text-decoration. Is there any way around that, or any way to make an entirely different set of attributes for that specific word?