Help with styling the font in Javascript

X

xx75vulcan

Howdy!

I've got a javascript menu that was handed to me. I believe it was hand
coded- but not sure.

I need to find a way to specify the font color and size of the menus.

Currently, the menu is embeded into an html page that links a CSS file.
The BODY tag in the CSS file will tell the javascript menu what to do,
but the problem is, i need the javascript menu to have different font
than the rest of the HTML page.

How do I specify a new tag in the CSS file, OR how can i hard code the
style in the Javascript menu?

Link to the page containing the menu. If you'd rather I post the whole
Javascript I can do that too...

http://www.rockwood.k12.mo.us/default_copy.htm

Much Thanks!
 
R

Randy Webb

(e-mail address removed) said the following on 6/5/2006 2:33 PM:
Howdy!

I've got a javascript menu that was handed to me. I believe it was hand
coded- but not sure.

I doubt it. But whether it is or not it is very badly coded with a lot
of bad habits in it.
I need to find a way to specify the font color and size of the menus.

Use CSS to do that.

And, save yourself a lot of trouble and find a better menu.

<URL:
http://www.evolt.org/article/How_to_make_a_simple_CSS_dropdown_menu/17/52030/>
Would be a start.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top