I need help with this script

Wetling23

Senior member
Aug 18, 2001
496
0
0
Given this script, can anyone help me figure out how to make the normal text color black and the mouse over text color white?

I'd like for those colors to not change when a link is clicked.

I've attached the style code that goes at the top of the HTML document.

Thank you.
 

xtknight

Elite Member
Oct 15, 2004
12,974
0
71
Can you tell me how to get the code to 'work'? Here's what I have and I see nothing...
 

xtknight

Elite Member
Oct 15, 2004
12,974
0
71
Here's a sample page where all items with class itemText have #ffffff as the link color in all scanarios (link, active, visited, hover). But where is the script involved? It just uses these classes to form its menus, correct?
 

Wetling23

Senior member
Aug 18, 2001
496
0
0
Thanks for helping. I didn't know I could stick the link, active, visited, and hover under the itemText class. However, when I go to this page, the visited links (in the menu bar where I'm trying to control the color) are still turning black when visited, the sub menus are all black, and the light text is on the light background and the dark text on dark background instead of the other way around.
 

xtknight

Elite Member
Oct 15, 2004
12,974
0
71
OK could you describe precisely what you want to happen with every aspect of the menu's text colors?
 

Wetling23

Senior member
Aug 18, 2001
496
0
0
Okay, here it goes...

At the top of every HTML page, I want a navigation bar with some drop down menus. That's what this script produces.

As it stands, the background color is a light green, the top level text color is white, and the sub-menu text color is black. When I mouse over a top level item, the background changes to dark green and the text color to black and when I mouse over a sub-menu item, the background changes to dark green, but the text stays black.

Because it's easier to see light text on a dark background and the dark text on a light background, the menus should act as follows:

top level item - background = light green, text = black
top level item mouse over - background = dark green, text = white
sub-menu item - background = light green, text = black
sub-menu item mouse over - background = dark green, text = white

Also, when a menu time (either top level, or sub-menu) is clicked, the text and background colors should not change.

Does that make sense. I'm sorry if I'm having trouble getting my thoughts into written form :)
 

Wetling23

Senior member
Aug 18, 2001
496
0
0
Oh yeah, this is the page I'm using to test the menu. And the "Wetling.com" and "best viewed at 1024x768" portion are generated in another HTML document.