On Tue, 27 Jan 2004 23:38:49 +0000, Gary Mayor <ga**@abertron.co.uk> wrote:
My users will be entering there own text and it needs to be able to
allow them to enter as much text as they want and it needs to come out
using a select box.
I'm looking into the CSS method if it works in ie and mozilla then it'll
do for me.
Thanks
Gary
My guess as to what you're after:
You're going to solicit user text through a textarea or an input
type="text". Then you're going to display it in a select box, presumably
using JS?
Still not sure what the problem is. Your Select box will size to the text
entered. If it's a lot of text, the select box will be wide like in your
example. If you want to limit the size, use the JS to truncate the string.
If you want them to enter as much text as they want and it is going to be
an option in a Select box, then why would you complain that the box is too
long? If you're allowing unlimited characters, theoretically the select
box would run off the edge of the page. That's what happens with long
values.
I assume you'd like the text to wrap, but it doesn't work that way. Select
options are one line high. Wrapping would lead to confusion. It's not a
bug, it's a feature.