Navigation Question - Post ID 132000

User 563328 Photo


Registered User
85 posts

I have two navigations - the first an inline navbar that is working just like I want.

The second is a vertical navigation that is also working except for the hover function. It was working fine when I first created the navigation however it quit all of a sudden and I don't know why.

When I set up my vertical navigation I used div class instead of ul as you can see by my css below.

.navigation a:link {
color: #BFDBFF;
text-decoration: none;
}

.navigation a:visited {
color: #D7E2C9;
text-decoration: none;
}

.navigation a:hover; {
color: #004B6F;
text-decoration: none;
}

.navigation a:active {
color: #FFCE9D;
text-decoration: none;
}

Also, the text color isn't changing back to an unvisted state as it would if you hadn't been to a site in a couple of days. It is showing as being visited on my working files and when I upload to the server (no active site to the general public yet as it is still being developed.)

User 184085 Photo


Ambassador
1,707 posts

possibly the semi-colon after the word hover might be the solution, try removing it :)
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 563328 Photo


Registered User
85 posts

That was the culprit. Thanks David. Have a great day. Hope it isn't as hot there as it is here in Seattle. It is currently 83 and is supposed to get up to 94. Ugh! :cool:
User 184085 Photo


Ambassador
1,707 posts

It is :) but suppose to break overnight and be more seasonal tomorrow here in Northern Ontario Canada.
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.