Re: Drop Down on width in IE5

by Robin Liston <rliston(at)home.com>

 Date:  Mon, 17 Sep 2001 22:13:09 -0700
 To:  hwg-techniques(at)hwg.org
 In-Reply-To: 
  todo: View Thread, Original
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