View Full Version : width size for jump-down menus
Is it possible to set a width size for jump-down menus such as shown below? As well, how can the first item in the menu not be shown twice on the list...ie the selected option and the first item in the list? Or, must it be this way for the option to remain selected when that option is active?
Also, I am looking for a very lightweight pop-out or fly-out two or three level vertical menu. any suggestions would be appreciated.
thanks,
babalu
<select name="info" class="dropstyle" onchange="MM_jumpMenu('parent',this,0)"><option selected="selected">General</option>
<option value="url"> General
Index</option>
<option value="url">Company</option>
etc
binary_w0lf
12-20-03, 05:17 PM
Have you tried out size="x" ???
hyjacked
12-22-03, 07:37 AM
From my messing with select boxes the size="x" has never worked for me.
Also I was wondering why you would have "General" twice in the list? That might be causing your entry to show up twice, or was this intentional?
hi hijacked,
yes, precisely, size has not worked for me either. the solution I did come up with was to use a style sheet and set the size in this way with the width attribute. I am satisfied with the drop downs now.
I did use general on purpose twice....
font-family:
font-size: 14px;
color: #003366;
background-color: #FFFFAA;
height: 30px;
width: 110px;
text-align: center;
font-weight: 500;
delerium
01-17-04, 04:34 AM
as var as i know, you can only change the height, not width. but, if you use (which is a blank space) you can will up the dropdown menu
ex: <option selected="selected"> General </option>
its not the neates solution, but its something
--delerium--
karlcore
01-19-04, 12:25 AM
Weird. I thought that non-breaking spaces were for creating non-breaking spaces, not layout or presentation.
Silly me...
delerium
01-19-04, 12:43 AM
Weird. I thought that non-breaking spaces were for creating non-breaking spaces, not layout or presentation.
Silly me...
well, sometimes you got to settle for what you got. especially if you have a deadline ;)
vBulletin® v3.6.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.