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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Links color in menu

Status
Not open for further replies.

tfstom

Programmer
Sep 28, 2002
190
US
I have a menu I am setting up as text with links. I want the text to be white and have it set up that way in my css file. The problem is that it is being set up as blue.

I do want my other links to work the same as they normally would, but not the menus.

How do I get around this?

Thanks,

Tom.
 

Assign a class to your links:

Code:
<a href="" class="menuLink">...</a>

and then in your css, specifically code the menu links to be a different colour:

Code:
<style type="text/css">
a.menuLink {
  color: #FFFFFF;
}
</style>

Hope this helps,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top