RainsMirage Posted June 9, 2009 Report Share Posted June 9, 2009 Well I am dumb founded. I can't style my mainNav links. I have looked through 4 books. NadaI want them to be colored #ab7603But I get this: The IslandHere is the code I am using to style the links. A:link{ text-decoration: NONE; color:#ab7603}A:visited{ text-decoration: line-through; color:#ab7603}A:active{ text-decoration: NONE; color:#ab7603 }A:hover{ text-decoration: line-through; color:#ab7603} Link to comment Share on other sites More sharing options...
smerny Posted June 9, 2009 Report Share Posted June 9, 2009 (edited) #mainNav{ width: 280px; Float: left; background-color: #f5db8c; border: 3px solid #705811; font-color: ab7603; A:link{ text-decoration: NONE; color:#6C72B0}A:visited{ text-decoration: NONE; color:#6C72B0}A:active{ text-decoration: NONE; color:#6C72B0 }A:hover{ text-decoration: underline; color:#000000} } you can't embed styles like that...try this...#mainNav{ width: 280px; Float: left; background-color: #f5db8c; border: 3px solid #705811; font-color: ab7603;} #mainNav A:link{ text-decoration: NONE; color:#6C72B0}#mainNav A:visited{ text-decoration: NONE; color:#6C72B0}#mainNav A:active{ text-decoration: NONE; color:#6C72B0 }#mainNav A:hover{ text-decoration: underline; color:#000000} Edited June 9, 2009 by smerny Link to comment Share on other sites More sharing options...
RainsMirage Posted June 9, 2009 Author Report Share Posted June 9, 2009 Thanks. I was getting the link code from a 6 year old layout. I keep way out of date layouts on my flash drive. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now