|
|
Joined: May 2005
Posts: 3
Junior Member
|
Junior Member
Joined: May 2005
Posts: 3 |
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!!!!
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
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
|
|
|
|
Joined: May 2005
Posts: 3
Junior Member
|
Junior Member
Joined: May 2005
Posts: 3 |
Thanks! I got the same answer on another board, too. It works well!
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|