Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: DHTML
Expertise: Beginner
Apr 18, 2000

Separating Colors with a Pull-Down Menu

Question:
When I implemented a pull-down menu, it wiped out the default, anchoring color schemes. When I changed the pull-down menu to blue text, my anchored text showed blue again. How do you suggest I separate these two items?

Answer:
If you want the custom styles set for the A tag to only appear on the menus, change the A and A:hover to A.menu and A.menu:hover.

With this change, your normal anchor colors will show up everywhere but on the pull-down menus.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap