954,598 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Idle link style in CSS

Hey guys,

I'm trying to make a link appear as white text in all states (idle, hover, visited, click)
but for some reason my idle state does not conform to my CSS. Could someone have a look and maybe help me solve the issue?

here's my CSS:

a.nav:link { 
	color: white;
	text-decoration: none;
	font-size: 135%;
	font-weight: bold
	}

a.nav:visited { 
	color: white;
	text-decoration: none;
	font-size: 135%;
	font-weight: bold
	}

a.nav:hover { 
	color: white;
	text-decoration: none;
	font-size: 135%;
	font-weight: bold
	}

a.nav:active { 
	color: white;
	text-decoration: none;
	font-size: 135%;
	font-weight: bold
	}


And here is my HTML (The css is properly linked, I am not using any css for the element):

<p><a href="ishiyama.html" class="nav">&nbsp; Home</a></p>


Thanks,
trixma

trixma
Newbie Poster
4 posts since Feb 2011
Reputation Points: 10
Solved Threads: 0
 

The idle state is just a , not a:link

shaya4207
Junior Poster
147 posts since Apr 2010
Reputation Points: 18
Solved Threads: 25
 
The idle state is just a , not a:link

Thanks! this fixed it.

trixma
Newbie Poster
4 posts since Feb 2011
Reputation Points: 10
Solved Threads: 0
 

My pleasure... Please mark this post as 'solved', thanx

shaya4207
Junior Poster
147 posts since Apr 2010
Reputation Points: 18
Solved Threads: 25
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: