joeyconnick
3rd Jun 2005, 05:00 PM
Hi there,
Yes, I truly am an HTML nerd. I noticed that hovering wasn't working for some of the links at the top of the emptyclosets pages (home resources forum contact us)
The reason is because of the order of the style definitions in the style1 class:
/* ***** emptyclosets top menu ***** */
.style1 {
font-size: 10px;
font-family: tahoma, verdana, arial;
color: #FFFFFF;
}
.style1 a { color: #FFFFFF; text-decoration: none; }
.style1 a:hover { color: #666666; text-decoration: none; }
.style1 a:visited { color: #FFFFFF; text-decoration: none; }a:visisted is defined after a:hover, which means that if you've already visited a link, the visited style overrides the hover style, which means visited links don't change colour when you mouseover them.
This can be fixed by just swapping the order of the last two lines above, so that a:hover is defined last.
Yes, I truly am an HTML nerd. I noticed that hovering wasn't working for some of the links at the top of the emptyclosets pages (home resources forum contact us)
The reason is because of the order of the style definitions in the style1 class:
/* ***** emptyclosets top menu ***** */
.style1 {
font-size: 10px;
font-family: tahoma, verdana, arial;
color: #FFFFFF;
}
.style1 a { color: #FFFFFF; text-decoration: none; }
.style1 a:hover { color: #666666; text-decoration: none; }
.style1 a:visited { color: #FFFFFF; text-decoration: none; }a:visisted is defined after a:hover, which means that if you've already visited a link, the visited style overrides the hover style, which means visited links don't change colour when you mouseover them.
This can be fixed by just swapping the order of the last two lines above, so that a:hover is defined last.