PDA

View Full Version : A:link A:hover A:problems



nobody
February 8th, 2003, 03:25 PM
any clue why this isnt working? when i hover over the links or when its active the underline and overline dont show up.. why?


<style>
A:link {color:#CC0000;text decoration:none}
A:active {color:#CC0000;text-decoration:underline overline}
A:hover {color:#CC0000;text-decoration:underline overline}
A:visited {color:#CC0000;text-decoration:none}
</style>

lostinbeta
February 8th, 2003, 03:32 PM
Well your text decoration for the regular a must have a dash through it for one.

And the other, no clue, it works for me... :-\


<style>
A:link {color:#CC0000;text-decoration:none}
A:active {color:#CC0000;text-decoration:underline overline}
A:hover {color:#CC0000;text-decoration:underline overline}
A:visited {color:#CC0000;text-decoration:none}
</style>



Oh yeah, and put your code between [PHP<I></I>][<I></I>/PHP] vB tags otherwise the board will convert it.

nobody
February 8th, 2003, 03:33 PM
i feel stupid
thanks

nobody
February 8th, 2003, 03:34 PM
it still isnt working..
i dont get it

lostinbeta
February 8th, 2003, 03:35 PM
Oh wait... I think I just noticed the problem. I will see whats up.

nobody
February 8th, 2003, 03:35 PM
can someone go to my site and tell me if it works?
http://xxviii.iwarp.com/

nobody
February 8th, 2003, 03:41 PM
i figured it out.. it just doesnt work on email links

Jubba
February 8th, 2003, 03:44 PM
that works on my computer....

nobody
February 8th, 2003, 03:45 PM
does it really?
but but but.. im gonna kick my computer

lostinbeta
February 8th, 2003, 03:45 PM
Jubba, I thought it worked too, apparently if you click it, and click off it, it stops doing the hover.

Try this instead

<style>
A {color:#CC0000;text-decoration:none;}
A:active {color:#CC0000;text-decoration:none;}
A:hover {color:#CC0000;text-decoration:underline overline;}
A:visited {color:#CC0000;}
</style>

nobody
February 8th, 2003, 03:47 PM
didnt work..

lostinbeta
February 8th, 2003, 03:48 PM
There is also this...

<style>
A {color:#CC0000;text-decoration:none;}
A:active {color:#CC0000;text-decoration:underline overline;}
A:hover {color:#CC0000;text-decoration:underline overline;}
A:visited {color:#CC0000;}
</style>


But you have to click off of the link first before your hover will actually work.


If none of these works.. then theres something wrong with your system because they both work great for me.

nobody
February 8th, 2003, 03:50 PM
that first one you showed me worked except it kept an underline stayed when it was innactive

lostinbeta
February 8th, 2003, 03:52 PM
???

The first one I gave you


<style>
A {color:#CC0000;text-decoration:none;}
A:active {color:#CC0000;text-decoration:none;}
A:hover {color:#CC0000;text-decoration:underline overline;}
A:visited {color:#CC0000;}
</style>

Only does the underline overline effect when hovered on and that is it. There was no text-decoration on it any other time.

nobody
February 8th, 2003, 03:54 PM
i misread somethin.. forget what i said

nobody
February 8th, 2003, 03:55 PM
ok this thing is pissin me off cuz it should be really simple to fix but it just wont.. ill think about later or somethin... but now i gotta go to work.. thanks for helpin

lostinbeta
February 8th, 2003, 03:58 PM
What browser are you using?

This should work, it works for me.

Anyone else can test?

nobody
February 8th, 2003, 11:13 PM
im usin internet explorer somethin.. im sure its relatively new.. im not sure

lostinbeta
February 8th, 2003, 11:16 PM
I use IE6, but that CSS code works on at least IE 5 I believe.

nobody
February 8th, 2003, 11:19 PM
hmmm... well im bored so im gonna give it another go