Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select element list height question

Status
Not open for further replies.

Simpleton

Programmer
Jul 31, 2002
27
GB
I'm using this

<SELECT size=&quot;1&quot;>
<option value=&quot;&quot;></Option>
<option value=&quot;1&quot;>1</Option>
<option value=&quot;2&quot;>2</Option>
<option value=&quot;3&quot;>3</Option>
<option value=&quot;4&quot;>4</Option>
<option value=&quot;5&quot;>5</Option>
<option value=&quot;6&quot;>6</Option>
<option value=&quot;7&quot;>7</Option>
<option value=&quot;8&quot;>8</Option>
<option value=&quot;9&quot;>9</Option>
<option value=&quot;10&quot;>10</Option>
<option value=&quot;11&quot;>11</Option>
<option value=&quot;12&quot;>12</Option>
</select>

The trouble is in the drop list it is only displaying up to number 10 (inclusive)

I'd like it to show the blank row and all 12 months, ie 13 entries in a combo box?

Any ideas? I expect I am missing something simple and silly.
 
You mean like this?
Code:
<SELECT SIZE=&quot;13&quot;>
<OPTION VALUE=&quot;&quot;></OPTION>
<OPTION VALUE=&quot;1&quot;>1</OPTION>
<OPTION VALUE=&quot;2&quot;>2</OPTION>
<OPTION VALUE=&quot;3&quot;>3</OPTION>
<OPTION VALUE=&quot;4&quot;>4</OPTION>
<OPTION VALUE=&quot;5&quot;>5</OPTION>
<OPTION VALUE=&quot;6&quot;>6</OPTION>
<OPTION VALUE=&quot;7&quot;>7</OPTION>
<OPTION VALUE=&quot;8&quot;>8</OPTION>
<OPTION VALUE=&quot;9&quot;>9</OPTION>
<OPTION VALUE=&quot;10&quot;>10</OPTION>
<OPTION VALUE=&quot;11&quot;>11</OPTION>
<OPTION VALUE=&quot;12&quot;>12</OPTION>
</SELECT>
This is not a bug - it's an undocumented feature...
;-)
 
That shows all 13 rows by default without the option of a drop down list. I think Simpleton wants the SELECT box to be the normal size but the actual drop down list to show 13 elements.

I dont think you can do this I'm afraid - would like to know how if it is possible though Tony
reddot.gif WIDTH=500 HEIGHT=2 VSPACE=3

 
Fester has it, i need a &quot;combo&quot; showing the selected entry, but when it drops down, it shows all 13 in the list.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top