Log in

View Full Version : Chrome CSS Drop Down Menu (v2.4)



topscorer
10-26-2008, 10:05 PM
Chrome CSS Drop Down Menu (v2.4)
http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm

Hi

I'm trying to use this drop down menu using different colors (styles) for each drop down.

I thought that instead of making one drop down with 3 menus I could make 3 drop downs with 1 menu each and make each one a different color by pointing to a different css file.

Can this be done and can you explain how to do it please?

Please note that I am not very good at coding and I'm using a program called Web Studio 4 to design my website.

Thanks

rangana
10-27-2008, 03:03 AM
Go to chromestyle.css and do you can define (CSS) rules on the divs you wish to change color.

Basing on DD's chromemenu, go to chromestyle.css and add this rule:


#dropmenu1{
background:#06c;
}
#dropmenu2{
background:#09c;
}
#dropmenu3{
background:#0fc;
}


You'll see that the three dropdowns has three different background colors.

Hope that makes sense to you.

topscorer
10-27-2008, 02:43 PM
Thanks that worked.

What about the actual menu at the top, as opposed to the drop down menu?

I want the background color for Menu 1 to be the same as the background color for drop down menu 1. Hope that makes sense.