PDA

View Full Version : Dropdown Menus


ezekielskater02
12-01-2002, 08:26 PM
OK, i just began doing coding and C++. I'm doing really good for self teaching myself at theage of 15. My question..is it possible to change the background color in a drop dwon menu? Like change the white background to black, and the font to red? If its possible to do this inside a "dropdown menu" please reply. Thanks for the help.:thumbsup:

cg9com
12-02-2002, 03:42 PM
im assuming you mean a form element dropdown menu, if not you should be more specific.

<select>
<option></option>
</select>


in which case simple CSS will do fine, ill make an inline example.


<select style="background-color:#000000;color:#ff0000">


and then make the rest of the menu, good luck :)
for reference a question like this should go in the HTML & CSS (http://codingforums.com/forumdisplay.php?s=&forumid=13) section.

Mhtml
12-18-2002, 05:50 AM
Obviously not to good at self teaching... I learnt what you are trying to do by looking at others source code. But that doesn't make me any better than anyone else...
Your signature...
IM so much cooler than you!

I've finished my little rant ( I dislike people who think they are soooo much better then everyone else )

This isn't a javascript related topic it should be in HTML & CSS
try visiting here and learning css (cascading style sheets) http://www.w3scools.com