Internet Explorer Does Not Use SIZE= of SELECT Tag Correctly (150197)



The information in this article applies to:

  • Microsoft Internet Explorer 2.0 for Windows NT 4.0
  • Microsoft Internet Explorer 2.0 for Windows NT 3.51
  • Microsoft Internet Explorer 2.0 for Windows 95
  • Microsoft Internet Explorer 2.0 for Windows 3.1

This article was previously published under Q150197

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.

Modification Type:MajorLast Reviewed:12/5/2003
Keywords:kbusage KB150197