Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt about HTML selec t tag

 
Phanindra varma
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can anybody tell me the solution for this.

I have a code loke this :
<select>
<options>one</options>
<options>two</options>
-----
-----
<options>twenty</options>
</select>

When i am selecting this select box it is showing a some values with scroll bar.

How do we show only ten values initially if we want 11th one we need scroll.

Can you please tell me ...
Thanks in Advance.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what you are after, but maybe the size attribute?

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic