By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,879 Members | 1,809 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,879 IT Pros & Developers. It's quick & easy.

Question re <SELECT SIZE="1"

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.