Scripsit Chris F.A. Johnson:
>dear experts: is it possible to define in plain html (perhaps with
css) a textarea in a form that expands over the entire width of a
browser window?
Use CSS:
textarea {
width: 100%;
height: 100%;
}
There was no request for filling the entire _height_ (which would have been
rather absurd). So
textarea { width: 100%; }
is the answer - except that there will still be page margins, so that the
area does not quite expand over the entire width. To make the margins
disappear (with the usual caveats) you would use
html, body { margin: 0; padding: 0; }
but then you would need to add any margins that you really want to have.
Expanding over the width of a window is seldom a good idea, though.
Expanding over the body width is better, and you get that with just textarea
{ width: 100%; }.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/