1.I've read every possible thread I found here and in other forums, and found that all besides the active link
style is working in NS4.7. It's red no matter what.
Does anyone know how to solve it?
I tried to change the order of the active, link, and visited styles.
2. Changing A ceratin link background-color ON EVENT in NS4.7.
Is it possible?
Thanks in advance
The code:
<style type="text/css">
a.defaultMainLinkColors:active
{text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 14px;
color:#008080}
a.defaultMainLinkColors:link
{text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 14px;
color:#008080}
a.defaultMainLinkColors:visited
{text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 14px;
color:#008080}
</style>
<script language="javascript">
function chgLinkbgColor(specificLink)
{//What shell I write for netscape?
}
</script>
...
<body>
<a href=" class="defaultMainLinkColors" id="link1" onclick="chgLinkbgColor(this);">
<img src="pic.gif" border="0">
first link
</a>
<a href=" class="defaultMainLinkColors" id="link2" onclick="chgLinkbgColor(this);">
<img src="pic.gif" border="0">
second link
</a>
</body>
style is working in NS4.7. It's red no matter what.
Does anyone know how to solve it?
I tried to change the order of the active, link, and visited styles.
2. Changing A ceratin link background-color ON EVENT in NS4.7.
Is it possible?
Thanks in advance
The code:
<style type="text/css">
a.defaultMainLinkColors:active
{text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 14px;
color:#008080}
a.defaultMainLinkColors:link
{text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 14px;
color:#008080}
a.defaultMainLinkColors:visited
{text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 14px;
color:#008080}
</style>
<script language="javascript">
function chgLinkbgColor(specificLink)
{//What shell I write for netscape?
}
</script>
...
<body>
<a href=" class="defaultMainLinkColors" id="link1" onclick="chgLinkbgColor(this);">
<img src="pic.gif" border="0">
first link
</a>
<a href=" class="defaultMainLinkColors" id="link2" onclick="chgLinkbgColor(this);">
<img src="pic.gif" border="0">
second link
</a>
</body>