Thread: Netscape 7.1 destroys links?
Results 1 to 3 of 3
Related
-
Netscape Images Forum: HTML Forum
Replies: 2 -
Netscape 4.7 and anchored links Forum: HTML Forum
Replies: 0 -
Help with Netscape Forum: CSS Forum
Replies: 1 -
Netscape 4.7 Forum: HTML Forum
Replies: 2 -
Explorer and Netscape Forum: HTML Forum
Replies: 6
-
01-08-2004, 12:40 PM #1
Netscape 7.1 destroys links?
Okay, I perused a few sites that discuss CSS bugs and mozilla/netscape and it comes down to this:
1-Make all declarations for links, except color, on A
2-Declare color (and color alone) on :link and :visited
So please help me :
CSS snippet:
a {
text-decoration: none;
font-weight: bold;
color: #ccc;
outline: none;
}
a:link {
color: #ccc;
}
a:visited {
color: #ccc;
}
a:hover {
color: #ccc;
}
#menu {
position: relative;
top: 75px;
left: 0px;
padding: 10px 2% 10px 2%;
margin: 0px;
border: 0px;
height: 10px;
text-decoration: none;
}
#menu a:link {
color: #FF0000;
}
#menu a:visited {
color: #FF0000;
}
#menu a:hover {
color: #FFFF00;
}
HTML page snippet:
<div id="menu">
<A HREF="one.html">one</A>
<A HREF="two.html">two</A>
<A HREF="three.html">three</A>
<A HREF="four.html">four</A>
</div>
This should display a red link that when mouse over (hover) the link text should change to yellow (with the accompanying cursor change to 'hand'). Works in IE6 but Netscape 7.1 all I get is red text.
I've tried changing the order of psuedo-selectors(?) but to no avail.
Hover not supported ?? Richinstyle.com masterclass says hover is not supported and then shows an example using hover.
The ZenGarden site has multiple examples that use hover which render properly in Netscape 7.1.
What gives?
W.Last edited by woodknut; 01-08-2004 at 01:02 PM.
-
01-08-2004, 01:45 PM #2
I found my error:
the reference for the menu links should be:
#menu a {
instead of
#menu {
this properly sets the styles for the links.
W.
-
01-08-2004, 07:38 PM #3
Thanks for posting the solution, it will no doubt help those that do not have netscape 7.1 installed
...like me
Dave
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum