The ISSUE:
I want my hyperlinks to be without underline normally.
Then for certain ones, I want them to change color and have an underline appear when the mouse is on them (hovering), and for a second group of links, I just want them to change color when hovering.
The PROBLEM:
(Primary)In IE 5.0, the effect works the first time you go to the site. But once you click on any of the links (either those defined as Index or menu) (i.e. from the index.html page) and then return to the index.html page, the underline exists for the links defined as Index in the "link, active, visited" version. The only way I can find to make sure that the underline does not appear is to either (1) Manually Clear the History Bar or (2) set the style sheet to A.Index: hover {text-decoration:none} but that is not the effect I'd prefer.
(Secondary) The "hover" style sheet does not work in Netscape 4.7. Is this just the way it is or is there additional code that I could use for Netscape to recognize the intent?
The CODE:
I used the following <head> code:
<head>
...meta tags...
<style type="text/css">
<!--
A.Index:link {text-decoration:none; color: #0000A0;}
A.Index:active {text-decoration:none; color: #0000A0;}
A.Index:visited {text-decorattion:none; color: #0000A0;}
A.Index:hover {text-decoration:underline; color: #0066FF;}
A.menu:link {text-decoration:none; color: #A8ACB9;}
A.menu:active {text-decoration:none; color: #A8ACB9;}
A.menu:visited {text-decoration:none; color: #A8ACB9;}
A.menu:hover {text-decoration:none; color: black}
-->
</style>
</head>
And used the following <body> code:
...other html...
<a href="About.html" Class=Index>COMPANY NAME</a>
...other html...
<a href="ClientLogin.html" CLASS=menu>Client Login</a>
Any suggestions are greatly appreciated. Thanks.
I want my hyperlinks to be without underline normally.
Then for certain ones, I want them to change color and have an underline appear when the mouse is on them (hovering), and for a second group of links, I just want them to change color when hovering.
The PROBLEM:
(Primary)In IE 5.0, the effect works the first time you go to the site. But once you click on any of the links (either those defined as Index or menu) (i.e. from the index.html page) and then return to the index.html page, the underline exists for the links defined as Index in the "link, active, visited" version. The only way I can find to make sure that the underline does not appear is to either (1) Manually Clear the History Bar or (2) set the style sheet to A.Index: hover {text-decoration:none} but that is not the effect I'd prefer.
(Secondary) The "hover" style sheet does not work in Netscape 4.7. Is this just the way it is or is there additional code that I could use for Netscape to recognize the intent?
The CODE:
I used the following <head> code:
<head>
...meta tags...
<style type="text/css">
<!--
A.Index:link {text-decoration:none; color: #0000A0;}
A.Index:active {text-decoration:none; color: #0000A0;}
A.Index:visited {text-decorattion:none; color: #0000A0;}
A.Index:hover {text-decoration:underline; color: #0066FF;}
A.menu:link {text-decoration:none; color: #A8ACB9;}
A.menu:active {text-decoration:none; color: #A8ACB9;}
A.menu:visited {text-decoration:none; color: #A8ACB9;}
A.menu:hover {text-decoration:none; color: black}
-->
</style>
</head>
And used the following <body> code:
...other html...
<a href="About.html" Class=Index>COMPANY NAME</a>
...other html...
<a href="ClientLogin.html" CLASS=menu>Client Login</a>
Any suggestions are greatly appreciated. Thanks.