twilitegxa Posted June 29, 2009 Share Posted June 29, 2009 How can I set the color on my links to white for just my mainnav div? I only want the links for this navigation set to be changed. Here is the link: http://webdesignsbyliz.com/new/creationform.php Quote Link to comment https://forums.phpfreaks.com/topic/164066-solved-link-color/ Share on other sites More sharing options...
jackpf Posted June 29, 2009 Share Posted June 29, 2009 div .mainnav a { color: orange; } Quote Link to comment https://forums.phpfreaks.com/topic/164066-solved-link-color/#findComment-865509 Share on other sites More sharing options...
s_ff_da_b_ff Posted June 29, 2009 Share Posted June 29, 2009 well I was going to help you until I saw it was a sailor moon rpg...lmao Quote Link to comment https://forums.phpfreaks.com/topic/164066-solved-link-color/#findComment-865652 Share on other sites More sharing options...
Twister1004 Posted June 29, 2009 Share Posted June 29, 2009 There is a verity of ways to make a link color change. I now have progressed into a CSS Menu, where it is much more useful for me now. However, to make a link another color: a:link{ } Whenever someone hover a link: a:hover{ } When someone has visited a link before: a:visited{ } When that page is currently opened or activated. (I don't see the point in this one though.) a:active{ } That is the main four different ways of changing a link and making it look good. Quote Link to comment https://forums.phpfreaks.com/topic/164066-solved-link-color/#findComment-865785 Share on other sites More sharing options...
haku Posted June 30, 2009 Share Posted June 30, 2009 That's not what activate is. Activate is the color the link becomes after it has been clicked. It has nothing to do with what page the user is on. Quote Link to comment https://forums.phpfreaks.com/topic/164066-solved-link-color/#findComment-866092 Share on other sites More sharing options...
twilitegxa Posted July 1, 2009 Author Share Posted July 1, 2009 I got it, thanks everyone, except for the person that has a problem with Sailor Moon. It shouldn't matter what I'm doing my site about, but oh, well. Thanks to the other nice and non-judgemental people that are secure enough with themselves to not let MY interests determine whether or not they'd help me. :-) I had to add: #mainnav a { color: white } Just to let anyone reading this later know. ;-) Quote Link to comment https://forums.phpfreaks.com/topic/164066-solved-link-color/#findComment-866948 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.