ericnet
Programmer
- Mar 29, 2006
- 106
I have a link in my web page which I applies a style defined in an attached CSS file (myLinks.css), but when the link is clicked in Netscape 7.2 the ‘visited’ attribute doesn’t work. In Iexplorer 6.0 all 4 attributes works fine (link, visited, hover and active) and in Netscape 7.2 works (link, hover and active), except visited. That’ s very strange.. Isn’ t it?
This is the link defined in myLinks.css file:
And the web page:
Why the ‘visited’ attribute doesn’ t work in Netscape7.2?
Thanks
This is the link defined in myLinks.css file:
Code:
a.linkLetter7:link
{
font-family: Arial;
font-size: 12px;
color: #333333;
text-decoration: none;
font-weight: normal;
}[b]
a.linkLetter7:visited
{
font-family: Arial;
font-size: 12px;
color: #999999;
text-decoration: none;
font-weight: normal;
}[/b]
a.linkLetter7:hover
{
font-family: Arial;
font-size: 12px;
color: #0033FF;
text-decoration: underline;
font-weight: normal;
}
a.linkLetter7:active
{
font-family: Arial;
font-size: 12px;
color: #0033FF;
text-decoration: underline;
font-weight: normal;
}
And the web page:
Code:
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
<html>
<head>
<title>My Page</title>
<link href="CSSstyles/myLinks.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form id=”links_test” runat=”server”>
<table>
<tr>
<td>[b]<a id="about_us" class="linkLetter7" href="javascript:__doPostBack('about_us ','')">Who we are?</a>[/b]</td>
</tr>
</table>
</form>
</body>
</html>
Why the ‘visited’ attribute doesn’ t work in Netscape7.2?
Thanks