Forum Moderators: not2easy

Message Too Old, No Replies

Nav Link Help

         

zeta1600

8:27 pm on Sep 3, 2007 (gmt 0)

10+ Year Member



I have a php page referring to an external css.

The css has a global link with the following:

a { color: #CCC; text-decoration: none; }
a:hover { color: #999; }

I also have the following:
#sidecol{
width: 190px;
float: left;
text-align: left;
}

The #sidecol refers to a navigation bar. What I'd like to know is it possible to control the nav link so that it's different from the global setting?

What do I need to do/add to the php page?

Thanks

zeta1600

8:40 pm on Sep 3, 2007 (gmt 0)

10+ Year Member



Oops. sorry, just found my answer here:
[webmasterworld.com...]

I added the following to my css:

.navlink a:link {
color:#FFF;
}
.navlink a:hover {
color:#CCC;
}

and on my php, I added the following to the <div id="sidecol">
<div class="navlink">
...
</div>
</div>