Internet Explorer Does Not Use SIZE= of SELECT Tag Correctly

ID: Q150197

The information in this article applies to:

SYMPTOMS

Internet Explorer 2.0 does not use the SIZE attribute of the SELECT tag properly.

MORE INFORMATION

Given the following form definition:

<FORM ACTION="/scripts/args.cmd" METHOD="GET"><BR> Choose a item: <A NAME="item_list"></A>

   <SELECT MULTIPLE SIZE=1 NAME="item">
      <OPTION SELECTED VALUE="Item1">Item 1
      <OPTION VALUE="Item2">Item 2
      <OPTION VALUE="Item3">Item 3
      <OPTION VALUE="Item4">Item 4
      <OPTION VALUE="Item5">Item 5
      <OPTION VALUE="Item6">Item 6
   </SELECT>
   <INPUT TYPE=SUBMIT VALUE="Submit">
   <INPUT TYPE=RESET VALUE="Reset"><BR>
</FORM>

RFC1866 specifies that the SIZE attribute indicates the number of selections visible when the browser display the selection listbox. The remainder of the selections should be visible by scrolling through the selection listbox.

Internet Explorer 2.0 displays more than one list item even with SIZE=1. If you increase the value of the SIZE attribute, the listbox size will grow. However, the size of the listbox is not proportionate to the value of the SIZE attribute. For example, with SIZE=1, the selection listbox may show three selections, but with SIZE=5, the selection listbox may only show four selections.

STATUS

Microsoft has confirmed this to be a problem in Internet Explorer version 2.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words:

Keywords          : kbusage iisconfig 
Version           : 1.0 2.0
Platform          : WINDOWS

Last Reviewed: April 23, 1997