Google Answers Logo
View Question
 
Q: Simple HTML Drop Down Menu Question ( Answered 5 out of 5 stars,   0 Comments )
Question  
Subject: Simple HTML Drop Down Menu Question
Category: Computers > Programming
Asked by: cdn2005-ga
List Price: $3.00
Posted: 16 Mar 2006 11:12 PST
Expires: 15 Apr 2006 12:12 PDT
Question ID: 708043
I am having trouble changing the size/look of this drop down menu. 
Please give me the exact HTML to combine the look/size of:

<input style="height:17px; width:100px; font-family:tahoma;
font-size:10px" type="text" name="textfield">


with this simple drop down menu:


<form name="jump">
<select name="menu" onChange="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;"
value="GO">
<option value="http://www.site1.com">Site 1</option>
<option value="http://www.site2.com">Site 2</option>
<option value="http://www.site3.com">Site 3</option>
</select>
</font>
</form>
Answer  
Subject: Re: Simple HTML Drop Down Menu Question
Answered By: palitoy-ga on 16 Mar 2006 11:21 PST
Rated:5 out of 5 stars
 
Hello cdn2005-ga,

Thank-you for your question.

I think the code you are requiring is the following (I have simply
placed the style attribute of the input tag into the select tag). 
This makes the font in the drop-down box look identical.  Is this all
that you require?

<form name="jump">
<select style="height:17px; width:100px;
font-family:tahoma;font-size:10px" name="menu"
onChange="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;"
value="GO">
<option value="http://www.site1.com">Site 1</option>
<option value="http://www.site2.com">Site 2</option>
<option value="http://www.site3.com">Site 3</option>
</select>
</form>

If you need any further assistance on this matter please do not
hesitate to ask for clarification.
cdn2005-ga rated this answer:5 out of 5 stars
Perfect - thanks!

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy