The HTML 4.01 specification says that in textareas "user agents may
wrap visible text lines to keep long lines visible without the need for
scrolling."

Unfortunately, many user agents, including Netscape 4.7, won't actually
do this with an additional "wrap" property.

This is on the TODO list for 1.1. When implemented, this would
certainly be an optional property, and if the developer did not specify
"wrap=soft" or "wrap=hard", then a wrap propertly would not be
included.

I agree that it is unfortunate that we have to accomodate the
vagriances of browser implementations, but it is my understanding that
Struts is suppose to be a framework for deploying real-world
applications.

In practice, I would not be able to ship a Web application that used a
text area without wrapping through Netscape 4.x, since there would too
many user requests to add the feature. (I forgot the wrap property on a
comment form once, and, as usual, learned the hard way.)

How would Opera be adversly affected by Struts providing an optional
wrap property?

*********** REPLY SEPARATOR  ***********

On 2/6/2001 at 9:26 AM Michael Gerdau wrote:

>[wrap for textarea]
>
>>> I realize 
>>> that "wrap" 
>>> isn't part of the official spec, but it is supported by both 
>>> IE and Netscape. 
>
>What about us Opera users ?
>
>Why do you want to violate the spec anyway ?
>
>>> I was wondering if there was some alternative, or if my 
>>> changes might make 
>>> their way into CVS.
>
>I strongly object against this. There are already enough
>incompatibilities to be aware of.
>
>My DM 0.02, best,
>Michael
>--
> Vote against SPAM - see http://www.politik-digital.de/spam/
> Michael Gerdau       email: [EMAIL PROTECTED]
> Function call to load Windows: here_piggy_piggy_piggy_piggy
> PGP-keys available on request or at public keyserver



-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 425-0252; Fax 716 223-2506.
-- http://www.husted.com/about/struts/


Reply via email to