Old 21-02-2005, 01:05   #1 (permalink)
pauravi
PeaBee
 
pauravi's Avatar
 
Join Date: Dec 2004
Location: India
Posts: 63
Link States

Hi,
I have a wee little problem here.

If I give the visited, active, hover link states in my css, the links do not display the hover state. As soon as I remove the vlink, a link, the hover starts working but then the default colour (purple) shows in the visited state.

I want all states to be working fine. How do I go about doing this?
  Reply With Quote
Old 21-02-2005, 02:01   #2 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,200
they need to be in a specific order.

a:link { }
a:visited { }
a:hover { }
a:active { }

does that help?
  Reply With Quote
Old 21-02-2005, 11:02   #3 (permalink)
dan
Iris Folder
 
dan's Avatar
 
Join Date: Apr 2003
Location: smokey
Posts: 2,643
they do!?

shit.

Bugga, better go check a load of stuff I've done then. Though I've never noticed a problem. Or is it different if you're declaring them together...

a:link, a:visited, a:active { }
a:hover{}

?
  Reply With Quote
Old 21-02-2005, 11:57   #4 (permalink)
roto
Floating libation anyone?
 
roto's Avatar
 
Join Date: Apr 2003
Location: El Barco del Amor
Posts: 4,633
Send a message via AIM to roto Send a message via Yahoo to roto
Quote:
Originally Posted by smallbeer
they need to be in a specific order.
a:link { }
a:visited { }
a:hover { }
a:active { }
I've never seen trouble with:

a:link { }
a:visited { }
a:active { }
a:hover { }
__________________
fun: HGC v.4 | last.fm: DT | me | oi! f*ck u roto: ...via meebo!

New to interweb design? Your friends at dt can help.
  Reply With Quote
Old 21-02-2005, 13:26   #5 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,200
  Reply With Quote
Old 21-02-2005, 13:39   #6 (permalink)
seen.to
unusual suspect ™
 
seen.to's Avatar
 
Join Date: Jul 2004
Location: DE, USA
Posts: 2,888
I think it's just important that hover appears after visited, doesn't matter if there's anything in between... I think.
__________________
  Reply With Quote
Old 21-02-2005, 14:31   #7 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
Quote:
Originally Posted by seen.to
... I think.
better to be safe than sorry.
  Reply With Quote
Old 22-02-2005, 01:45   #8 (permalink)
pauravi
PeaBee
 
pauravi's Avatar
 
Join Date: Dec 2004
Location: India
Posts: 63
Thank you guys!
I didn't know the order of links was the order of the day ;-)
It's working fine.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8