visited link style overrides hover link style [message #1358] |
Tue, 09 April 2002 16:32 |
snafu
Messages: 27 Registered: April 2002
Karma: 0
|
Junior Member |
|
|
Admin Control Panel > Appearance Management > Style Manager
Situation: I've copied the default styles and customized the "Link MouseOver color".
Expected results: the mouseover style should apply to both visited and unvisited links.
Actual Results: style only works for unvisited links.
Possible cause: The fact that a:hover style rules are placed above a:visited in the stylesheet. Sinse a:visited is the last rule declared, it overrides the a:hover styles.
I think that people expect the behavior where hover styles apply to visited and unvisited links. Any way I can fix this?
|
|
|
Re: visited link style overrides hover link style [message #1359 is a reply to message #1358] |
Tue, 09 April 2002 16:35 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Actually the order of the style sheets does not matter in this case. The nature of css is such that visited link will ALWAYS overwrite the mouseover color. You can test this yourself.
The solution that "could" work would be to clear out the a:visited class.
FUDforum Core Developer
|
|
|
|
|
Re: visited link style overrides hover link style [message #1363 is a reply to message #1362] |
Tue, 09 April 2002 17:42 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Thanks for the report, I'll make proper modifications to handle this situations.
On your install, edit your header_*.inc files located in the settings directory and change the order of the CSS.
FUDforum Core Developer
|
|
|