Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
How to have the parent page background color during dropdown?
Old 10-16-2011, 01:26 PM Re: How to have the parent page background color during dropdown?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Well you have my 10 minute fudge of js, HTMLDog's nice bit of DOM script or as a third option, keep it as is and don't worry about it.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
 
Register now for full access!
Old 10-18-2011, 01:27 PM Re: How to have the parent page background color during dropdown?
Extreme Talker

Posts: 246
Name: Patric
Trades: 0
See now, I did use Lizciz's suggestions and got it to work...

The only trouble is, that the top menu text does not turn to white when you scroll over the other items in the menu.

http://www.manausfund.org.php5-21.websitetestlink.com/

Just need to also straighten out the wack jumpy text.

Any ideas? Anything would be greatly appreciated.
Reckoner is offline
Reply With Quote
View Public Profile
 
Old 10-20-2011, 03:21 AM Re: How to have the parent page background color during dropdown?
Novice Talker

Posts: 10
Name: Umar Bukhari
Location: Pakistan
Trades: 0
just put there these lines and you will be done ...

Code:
#primary-nav li:hover a {
        background-color: #45585c;
        color: #ffffff;
 }
angelsdev is offline
Reply With Quote
View Public Profile Visit angelsdev's homepage!
 
Old 10-20-2011, 01:46 PM Re: How to have the parent page background color during dropdown?
Extreme Talker

Posts: 246
Name: Patric
Trades: 0
I could kiss you!! thanks so much for your help, got me on the right track. seems so obvious now. I actually tried something like that before, but I put it as "span a" so it didn't work.

Put this in to get it to work.

/* this is the magic hover for the parent*/
#primary-nav li:hover a span {
color: #ffffff;
}


Thanks so much for taking a look. I know that style sheet is a mess.
Reckoner is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to have the parent page background color during dropdown?

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.46266 seconds with 11 queries