Scripsit Jeff:
>> Too few fields for surname input do not allow Mrs.
>> Hämäläinen-Virrankoski to enter her name visibly.
>
> Oddly, my default text field is 30, which is more than that.
Your 30 is a reasonable value. I wrote "too few".
> And I usually make textareas 55 x 4 sometimes with an auto lengthen.
Auto lengthen?
Anyway, 4 is far from sufficient for any normal textarea. How would you
like to use a word processor with a document canvas of that size? It's
frustrating to see less than a paragraph of what you have written so
far. Such a size is a message about the value assigned to user input by
the form designer and about the amount of text expected. That is, it
says: don't bother sending us anything that matters much.
> The trouble is that you usually want textareas to take up the max
> width
Do I? I don't think that a screen-wide textarea is convenient, and it
surely looks odd on most screens. A width of 55 characters or so (maybe
somewhat more) is generally suitable. The problem with it is that it
forces horizontal scrolling in a narrows window. But I don't think it's
a very serious problem.
> and generally you have to downsize them to due to width
> requirements on some browser.
Pardon?
> That's why I thought style="width: 100%" would be nice.
Not really as nice as one might expect.
Even if you set font-size: 100% and something like font-family: Cambria,
Georgia, serif (making typing reasonably convenient), a textarea with
size="55" fits into half of the width of a fairly normal screen. This
should be acceptable, and anything wider probably doesn't significantly
improve the ease of writing.
It would be more relevant to make the _height_ as large as possible (on
CSS-enabled browsers), but there's no simple way to do that.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/