View Full Version : How do you change the font in a drop-down menu?


Tsuji
11-01-2003, 08:16 PM
How do you change the font in a drop-down menu?

Sheila
11-01-2003, 08:31 PM
Example: (I hope I remember this correctly.)

<form name="gotolocation1" method="POST" ACTION=URI>
<select name="lissamenu1"
style="font-family: Tahoma"
style="color: #FFFFFF"
style="font-size: 14">
<option value="http://www.lissaexplains.com">Lissa Explains it All</option>
<option value="http://www.lissaexplains.com/cursor.shtml">Lissa's Cursors</option>
<option value="http://www.lissaexplains.com/home">Lissa's Page</option>
</select>
<input type="button" onClick="location =
document.gotolocation1.lissamenu1.options
[document.gotolocation1.lissamenu1.selectedIndex].value;"
value="Go">
</form>

Tsuji
11-01-2003, 08:41 PM
uhhh....i just copied that portion onto my website and it didn't work :(

here is the code that i put in:

<form name="gotolocation1" method="POST" ACTION=URI>
<select name="mymenu1">
<style="font-family: Verdana"
style="color: #0080CD"
style="font-size: 11">
<option value="http://www.geocities.com/blueshampooo/links.htm">+ links + </option>
<option value="http://www.geocities.com/blueshampooo/gallery.htm">+ pictures +</option>
<option value="http://www.geocities.com/blueshampooo/downloads.htm">+ downloads +</font> </option>
<option value="http://www.geocities.com/blueshampooo"> + enter again? +</font> </option>
</select>
<input type="button" onClick="location =
document.gotolocation1.mymenu.options
[document.gotolocation1.mymenu1.selectedIndex].value;"
value="!">
</form>


my site : www.geocities.com/blueshampooo

p.s., my hoverbuttons aren't working either.

lxt_angel
11-02-2003, 12:26 AM
I don't know much about html, but maybe it could be the kind of computer you have? I have found that Macintosh systems don't show the same things that people see on a Windows system.

Tsuji
11-02-2003, 02:33 AM
I have Windows XP by the way. and my computer isn't a mac. it's one of those sony vaio's

Sheila
11-02-2003, 07:35 AM
You made a little mistake....Copy and paste this and see if it works now. (And please don't ask your question more than once. I moved your hover button question to the JavaScript section.)

<form name="gotolocation1" method="POST" ACTION=URI>
<select name="lissamenu1"
style="font-family: Verdana"
style="color: #0080CD"
style="font-size: 11">
<option value="http://www.geocities.com/blueshampooo/links.htm">+ links + </option>
<option value="http://www.geocities.com/blueshampooo/gallery.htm">+ pictures +</option>
<option value="http://www.geocities.com/blueshampooo/downloads.htm">+ downloads +</option>
<option value="http://www.geocities.com/blueshampooo"> + enter again? +</option>

</select>
<input type="button" onClick="location =
document.gotolocation1.lissamenu1.options
[document.gotolocation1.lissamenu1.selectedIndex].value;"
value="!">
</form>

Tsuji
11-04-2003, 05:34 PM
Thank you for helping sheila! and sorry for asking a question more than once.