Hello all!
I'm new to learning CSS so please bear with me. I'm creating a website where the links will have an overline when you hover the mouse pointer over them. I got that to work but the problem is that it doesn't do it for previously visited links. It seems that the "a:visited" segment completely overrides the "a:hover" segment. Does anyone know how to remedy that? I've posted that part of the code below.
Thanks a bunch!
Jisoo22
I'm new to learning CSS so please bear with me. I'm creating a website where the links will have an overline when you hover the mouse pointer over them. I got that to work but the problem is that it doesn't do it for previously visited links. It seems that the "a:visited" segment completely overrides the "a:hover" segment. Does anyone know how to remedy that? I've posted that part of the code below.
Thanks a bunch!
Jisoo22
Code:
<style type="text/css">
<!--
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
background-color: #333366;
}
a:hover {
color: #FFCC99;
cursor: crosshair;
text-decoration: overline;
}
a:link {
color: #FFFFFF;
cursor: crosshair;
font-family: Arial, Helvetica, sans-serif;
text-decoration: none;
}
a:visited {
color: #3399CC;
cursor: crosshair;
text-decoration: none;
}
-->
</style>