468,316 Members | 2,092 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,316 developers. It's quick & easy.

Question re <SELECT SIZE="1"

Hello!

I have a drop-down list, 13 options there.
If I click on it, Firefox shows all 13 items while Internet Explorer shows
only 11 and a scroll bar -
even if it's in the middle of a page and there is a lot of real estate below
that.

Is 11 a 'magic number' for IE? Is there a way to force IE to show the entire
list?
Thanks,
Paul
http://porusski.net

May 2 '07 #1
1 3655
Scripsit Paul Gorodyansky:
I have a drop-down list, 13 options there.
13 is an unlucky number. :-)
If I click on it, Firefox shows all 13 items while Internet Explorer
shows only 11 and a scroll bar -
even if it's in the middle of a page and there is a lot of real
estate below that.

Is 11 a 'magic number' for IE?
Yes, in some versions of IE.

IE 7 seems to show much more; it seems that the magic number is 30 there.
Is there a way to force IE to show the
entire list?
No. You might be able to play some tricks on IE using JavaScript, if you
find out the relevant parameters and I way to affect them, but this would
fail when scripting is off and might depend on IE version.

Generally, drop-down lists are less useful on web pages than one might think
on the basis of user interfaces in typical programs. When a form is used for
user input, there's not that much point in creating several scrolling
systems - one for the page as a whole (as created by a browser automatically
when needed) and different scrolling mechanisms for select, textarea, and
input elements. Rather, you should organize the content so that everything
is visible at a glance to the extent that fits into the canvas - and
scrollable vertically with a single simple mechanism that users are well
familiar with. For example, you could use <select size="13"or a fieldset
element containing 13 radio buttons.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

May 3 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Rolf Wester | last post: by
3 posts views Thread by Drulli Rokk | last post: by
4 posts views Thread by JMUApache | last post: by
17 posts views Thread by teser3 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.