php forum
php mysql forum
php mysql smarty
 
Topic Options
#109973 - 05/08/05 07:28 PM [CSS] a:visited:hover and IE
branwen Offline
Junior Member

Registered: 05/08/05
Posts: 3
Loc: Texas

   [CSS] a:visited:hover and IE to Del.icio.us Add to del.icio.us
  Digg [CSS] a:visited:hover and IE Digg it
I have been having problems with getting a visited link to changed when hovered over in IE. It works just fine in Firefox. When I look at it in IE, the hover works before it is visited, but not after. Here are some snippets of code from different links:

.nav a { margin: 0px; text-decoration: none; color: #FFFFFF; font-weight: bold; }
.nav a:hover { margin: 0px; text-decoration: none; color: #FDE892; font-weight: bold; }
.nav a:visited:hover { margin: 0px; text-decoration: none; color: #FDE892; font-weight: bold; }
.nav a:visited { margin: 0px; text-decoration: none; color: #FFFFFF; font-weight: bold; }


<--and another snippet-->

a.bl { margin: 0px; text-decoration: none; color: #FFFFFF; font-size: 10pt; font-weight: bold; }
a:active.bl { margin: 0px; text-decoration: none; color: #FFFFFF; font-size: 10pt; font-weight: bold; }
a:hover.bl { margin: 0px; text-decoration: none; color: #CF3600; font-size: 10pt; font-weight: bold; }
a:visited:hover.bl { margin: 0px; text-decoration: none; color: #CF3600; font-size: 10pt; font-weight: bold; }
a:visited.bl { margin: 0px; text-decoration: none; color: #FFFFFF; font-size: 10pt; font-weight: bold; }

<---and another...---->

a { color: #F36D00; font-weight: normal; }
a:hover { color: #F7B942; font-weight: normal; }
a:visited:hover { color: #F7B942; font-weight: normal; }
a:visited { color: #F36D00; font-weight: normal; }


None of them seem to hover visited in IE.
Thanks for any help!!!!

Top
#109974 - 05/08/05 11:49 PM Re: [CSS] a:visited:hover and IE
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
I think this:

.nav a:visited

listed after this:

.nav a:visited:hover

takes precedence... try moving the a:visited higher in the lists and see if it helps
_________________________
- Allen wavey
- What Drives You?

Top
#109975 - 05/09/05 06:32 PM Re: [CSS] a:visited:hover and IE
branwen Offline
Junior Member

Registered: 05/08/05
Posts: 3
Loc: Texas
Thanks! I got the same answer on another board, too. It works well!

Top


Who's Online
0 Registered (), 42 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 11
blaaskaak 7
FREAK1 4
Ian_W 4
tackaberry 4
Gizmo 4
Mike L_dup1 4

 

 

 
fusionbb message board php hacks