Jump to content

Linking Coloring And Decoration


RainsMirage
 Share

Recommended Posts

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

#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 by smerny
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...