Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

a.myLink:visited doesn’ t work in Netscape 7.2 1

Status
Not open for further replies.

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:
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
 
I see.
The problem is the 'href' content is generated by ASP.NET (server side code), and it' s really very difficult for me change it by another alternative like onclick event. And I can’ t change it to normal links, since every link triggers some action on server side.
I don' t know what to do with these visited links in Netscape.. Suggestions and/or ideas?

Thank you

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top