PDA

View Full Version : any link drop down menu - changing bgcolor



sarahmdr
03-24-2006, 01:32 AM
link: http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

Ok - I have everything figured out - except - how to change the drop down menu background color -

I can change the color of the bg when it rolls over when it drops down - but not the color behind it. It's set to a light yellow - but I cant find where in the script to change it.

- i'm thinking maybe here? white is the roll over when you scroll down on text on the drop down:
#dropmenudiv a:hover{ /*hover background color*/
background-color: white;
}

Thanks for your help
Sarah

sarahmdr
03-24-2006, 01:39 AM
I figured it out! Sorry - not sure how to delete this post.

But maybe you can help me with changing the main font that you see before you roll over and it drops down.

I only see one place for font and thats to change the drop down text.

Thanks.

sarahmdr
03-24-2006, 02:08 AM
Sorry - I ran into one more thing -

is there a way to insert an html color code - for example #000000
to change the color compared to just "red" "blue" etc ...


#dropmenudiv a:hover{ /*hover background color*/
background-color: red;


I want to change red to #d9d6d6

thanks again

jscheuer1
03-24-2006, 02:53 AM
Nike(tm) - Just do it. :)


#dropmenudiv a:hover { /*hover background color*/
background-color: #d9d6d6;
}