spitfire72
02-09-2009, 01:07 PM
Argh. I have made my links all bold in my stylesheet, but want the subnav to be normal. All my pages have been created and uploaded and I'm ready to launch. In order to get my subnav links to be "normal" I have to assign the class directly in each <a href> tag, no? That's the only way I get it to work generally. Is there any way I can do it globally at this point? The subnav has its own class and its own div. The font weight is assigned in both of these (normal) but the links are still inheriting the a:link style I set for the whole site. Please help me before I go editing every subnav link on every blessed page. Thanks a million!!
Here are the relevant styles:
a:link{color:#660033; text-decoration:none; font-weight:bold;}
a:visited{color:#330000; text-decoration:none;}
a:hover{color:#000000; text-decoration:none;}
#subnav{margin-top:25px;font-weight:normal;}
.subnav {
font-family:"Arial", Verdana, sans-serif;
font-size: 10px;
font-style: normal;
font-weight: normal;
color: #000000;
letter-spacing: .08em;
text-align: center;
height: auto;
text-transform: uppercase; border-top:solid 1px #CCCCCC;
}
a.subnav{font-style:normal;}
And the relevant code:
<div id="subnav"> <span class="logosub">BREGGO CELLARS</span> 11001 Highway 128, Boonville, CA 95415 707-895-9589<br/>
<p class="subnav"><a href="index.html">home</a> <a href="contact.html">contact us</a> <a href="map.html">find us</a> <a href="trade.html">trade</a> <a href="policies.html">policies</a></p>
<p class="copy">copyright 2009 Breggo Cellars</p></div>
And the URL:
http://www.breggo.com
Here are the relevant styles:
a:link{color:#660033; text-decoration:none; font-weight:bold;}
a:visited{color:#330000; text-decoration:none;}
a:hover{color:#000000; text-decoration:none;}
#subnav{margin-top:25px;font-weight:normal;}
.subnav {
font-family:"Arial", Verdana, sans-serif;
font-size: 10px;
font-style: normal;
font-weight: normal;
color: #000000;
letter-spacing: .08em;
text-align: center;
height: auto;
text-transform: uppercase; border-top:solid 1px #CCCCCC;
}
a.subnav{font-style:normal;}
And the relevant code:
<div id="subnav"> <span class="logosub">BREGGO CELLARS</span> 11001 Highway 128, Boonville, CA 95415 707-895-9589<br/>
<p class="subnav"><a href="index.html">home</a> <a href="contact.html">contact us</a> <a href="map.html">find us</a> <a href="trade.html">trade</a> <a href="policies.html">policies</a></p>
<p class="copy">copyright 2009 Breggo Cellars</p></div>
And the URL:
http://www.breggo.com