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 <p> element):

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

Thanks,
trixma

Recommended Answers

All 3 Replies

The idle state is just a , not a:link

The idle state is just a , not a:link

Thanks! this fixed it.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.