Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
September 18, 2006, 8:53 pm
rate this thread
- Benjamin Niemann
September 18, 2006, 9:02 pm
On Mon, 18 Sep 2006 13:53:50 -0700, firstname.lastname@example.org let this slip:
Have you ever seen this kind of behaviour in an application ? I don't
think this is possible in HTML, and if it was, I imagine it to be
difficult to implement - especially in browsers that use the native
widgets to draw form elements, like IE, Konqueror or Safari.
- Jonathan N. Little
September 18, 2006, 10:11 pm
I'd need this because the image I provided is just for sample. My
select contains fairly large strings, and I don't have enough space on
my page to set the width of my select wide enough to see all text. So I
was wondering if even the select element is somewhat small, it was
possible to at least expand the box to a width so we see all text in
the box that shows all elements when we click on the select.
Jonathan N. Little wrote:
It sounds to me like a SELECT element isn't the most appropriate choice.
Have you considered radio buttons or checkboxes, which would allow label
text that could wrap to multiple lines as necessary?
Darin McGrew, email@example.com, http://www.rahul.net/mcgrew /
Web Design Group, firstname.lastname@example.org, http://www.HTMLHelp.com /
"FAILURE IS NOT AN OPTION. It comes bundled with the software."
- Benjamin Niemann
September 19, 2006, 8:25 am
You need a larger monitor. ;)
But the text will be cropped, when the SELECT is not expanded, and the user
has to click on it, in order to read it - not a good idea.
Unless you provide more context, we have to guess and rely on our
experiences. And this experience tells us that in 99.9% the question is
not "How do I implement XYZ?", but "How do I construct a document so I
don't have to do XYZ?".
To me, this sounds like your layout is much too rigid, and you are suffering
from the consequences of this approach. You can't control how large the
browser window, font size, ... is anyway. If there is enough space to have
the (wide) select and submit button side-by-side, fine. When there is not
enough horizontal space, nobody gets hurt, if the submit button is placed
below the select and the user has to scroll a bit in order to see the
complete document (which is less efford than clicking on the select
control(s) in order to see which option is active).
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de /