Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

down state for links

Status
Not open for further replies.

MCasey

Technical User
May 30, 2006
21
US
I'm setting up navigation links for my website and I'd like to use text links instead of graphics. I set up the hover link to change color, but is there a way that the text color of the link can change color when the page is loaded--like a "down state"?

I'd like users to easily identify what page their on with the navigation menu.

Any ideas are appreciated?

Thanks,
M.Casey
 
One way - by specifying a unique class for each item and setting that calass spedifically on the page thread215-905608

Another way is to have a class "Current" and make sure the current page link is assigned that class.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Thanks for the quick response--I'll try that!
 
Before I tried what you guys recommended, I tried just changing the color of the text in the properites box. Each page has it's menu item chaned. It's overriding the link color. Does that make sense? It seems to work in Safari.

Let me know if you think this is an option.
 
I'm reading your response to mean that you are using Dreamweaver or some other html editor to change the color for just the specific menu item.

While that will certainly work, I'd recommend using something like class="current", because then you can change the links on all pages by updating one linked css file.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Ahhh....that makes sense. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top