Forum Moderators: open

Message Too Old, No Replies

Controlling menu width

         

dave1236

3:06 am on Nov 18, 2004 (gmt 0)

10+ Year Member



I currently use simple drop down menus using the following format:
<form name="form1" method="post" action="abc.php">
<select name="123" id="123">
<option value="na">Select your area</option>
<option value="adjp">AD&JP</option>
</select>
<input type="submit" name="Submit" value="Go">
</form></td>

My problem arises in that I need to add a rather large "option value" (approx 60 chars). When I add this, it really distorts the page widths (I have 3 columns).

How do I control the width of my menu bar, or what other type of menu can I deploy that provides me with the same ability to accomplish the above?

Unfortunately, shortening the value is not an option.

Thanks

adni18

2:18 am on Nov 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is really the job for css, but whatever. <select name="123" id="123" style="width:100px">