|
| |
|
|
cswolf
Posts: 46 Joined: 11/9/2005 Status: offline
|
Visited link rollover not working... - 6/1/2006 11:37:22
I'm working on a simple web page with a very simple CSS Style Sheet. I had defined the link colors (link, hover, visited, active) and set the rollover feature to only underline links when the mouse rolled over them. This was working fine until I changed the color of my visited links, and now the rollover no longer works on visited links. Here is my CSS code: body {
background-color: #d7d2c2;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
body,td,th {
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
a:link {
color: #b06239;
text-decoration: none;
}
a:hover {
color: #c6935f;
text-decoration: underline;
}
a:visited {
color: #909090;
text-decoration: none;
}
a:active {
text-decoration: none;
color: #C6935F;
}
.survey_footer {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
}
Can anyone tell me why this is happening? Thanks.
|
|
|
|
cswolf
Posts: 46 Joined: 11/9/2005 Status: offline
|
RE: Visited link rollover not working... - 6/1/2006 11:39:56
Nevermind.... I figured it out. I had to switch the order of the link definitions in the CSS file.
|
|
|
|
rdouglass
Posts: 9187 From: Biddeford, ME USA Status: online
|
RE: Visited link rollover not working... - 6/1/2006 11:46:50
quote:
the order of the link definitions A common remebering trick is the LoVe-HAte rule: Link,Visited,Hover,Active in that order.
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
rdouglass
Posts: 9187 From: Biddeford, ME USA Status: online
|
RE: Visited link rollover not working... - 6/1/2006 12:10:36
quote:
Don't forget Focus! Never used it. Never had any problems *not* using it in terms of validation, etc. Can one expect issues not using it?
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
dpf
Posts: 7121 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: Visited link rollover not working... - 6/1/2006 13:27:20
quote:
You must have loads of those at your advanced age!! I do but cant remember many.
_____________________________
Dan
|
|
|
|
Tailslide
Posts: 5972 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: Visited link rollover not working... - 6/1/2006 14:48:29
Donkey's right actually - there seems to be competing versions but the LVHFA should trump LVFHA (if you want the Focus effect to have precedence over the hover effect). If you tend to have the focus and hover the same then it doesn't really matter. Another possible pnuemonic: Lord Vader Has a Funky Ass!
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|