-
Help with the Switch Menu script
1) Script Title: Switch Menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...switchmenu.htm
3) Describe problem: I would like to modify the css so the submenu items which are hyperlink are white. I am using a blue background and have the main menu items in white but the submenu items show up in blue. I have tried color: #FFFFFF and font-color: #FFFFFF. Is there a way to due this?
-
-
font-color is not a valid style property. I would try a selector with rules like so:
.submenu a {
color:white;
background-color:blue;
}
You may need to write them out for each of the pseudo classes as well if you have these otherwise defined in style elsewhere on the page for links in general. Example using the :visited pseudo class -
.submenu a:visited {
color:white;
background-color:blue;
}
This usually is only a probem in IE though and only if, as I said, you have them defined eleswhere for the a element itself.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks