css in link tag
Posted: Thu Apr 13, 2006 11:09 pm
The css I have works fine if I just put it straight on the page, but when I put it inside a link tag
the font color comes out black (its specified as white)
The links work fine, but just regular .nav text comes out black
Code: Select all
<link rel="stylesheet" href="includes/style.css" type="text/css">Code: Select all
<style type="text/css">
.nav {
color: #000000;
font-family: "verdana",arial;
font-size: 7pt;
font-weight: bold;
}
.nav a:link {
color: #FFFFFF;
font-family: "trebuchet ms",arial;
font-size: 10pt;
text-decoration: none;
font-weight: bold;
text-transform: uppercase;
}
.nav a:active {
color: #FFFFFF;
font-family: "trebuchet ms",arial;
font-size: 10pt;
text-decoration: none;
font-weight: bold;
text-transform: uppercase;
}
.nav a:visited {
color: #FFFFFF;
font-family: "trebuchet ms",arial;
font-size: 10pt;
text-decoration: none;
font-weight: bold;
text-transform: uppercase;
}
.nav a:hover {
color: #FF33FF;
font-family: "trebuchet ms",arial;
font-size: 10pt;
text-decoration: none;
font-weight: bold;
text-transform: uppercase;
}
</style>