Re: Drop Down on width in IE5

by "Angel One" <angelone(at)angelonearth.net>

 Date:  Tue, 18 Sep 2001 05:11:08 -0400
 To:  <hwg-techniques(at)hwg.org>
 References:  home
  todo: View Thread, Original
    Here's an idea I sometimes use:  In the first (visible) box, I put the
text "select one" (or whatever), & add blank spaces or dashes or whatever
looks good untill that box is the width I want - which is usually the length
of the longest option.
      Paul

BTW; I know it's a no-no & off-topic but I made a tribute graphic you may
use - it's at http://screwedbyinsurance.com (I wouldn't send this if I
wasn't already answering a question, so no one is getting extra e-mail....
:-)

http://valuewebinc.com
http://v-firms.com
http://webcomnow.com
http://sitesense.com
http://DigitalRescue.org
----- Original Message -----
From: "Robin Liston" <rliston(at)home.com>
To: <hwg-techniques(at)hwg.org>
Sent: Tuesday, September 18, 2001 1:13 AM
Subject: Re: Drop Down on width in IE5


> The only way I found to make them both consistent in size and display is
to
> use a fixed-width font like Courier as the select font.
>
> HTH
>
> At 05:01 AM 09/18/2001, you wrote:
> >>Hi all,
> >>
> >>IE5 seems to constrain select drop down width to the display width
rather
> >>that the max width of the option values.  Netscape 6  respects the
width,
> >>but lets drop down resize to max with of option value list. Any ideas on
> >>how
> >>to make IE5 perform same way?
> >>
> >>Sample code:
> >>
> >><select name="Test" size="1" style="width: 125px; font-family: Arial,
> >>Helvetica, sans-serif; font-size: 8pt;">
> >> <option value="1">Selection Number 1 Selection Number 1</option>
> >> <option value="2">Selection Number 2 Selection Number 2</option>
> >> <option value="3">Selection Number 3 Selection Number 3</option>
> >> <option value="4">Selection Number 4 Selection Number 4</option>
> >> <option value="5">Selection Number 5 Selection Number
5</option></select>
>
> ===================================================
> Yes, I'm a real whiz with relationships...
> well, at least database relationships. - Geek Girl
> ===================================================
>
>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA