Hi Laurie,

OK you are right. But I tried the CSS solutions without any effect.

Sam

-----Original Message-----
From: Laurie Harper [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 14, 2005 12:42 PM
To: user@struts.apache.org
Subject: Re: Missing attribute "wrap" in TextareaTag

Fleischle, Samuel wrote:
> I have a textarea and want to set the attribute wrap="off" to avoid
> automatic wrapping of my text.
> 
> But I canĀ“t find any attribute with this name in the API for the
> TextareaTag. And if I insert this attribute in my code, I get an error.
> 
> Is this attribute missing? Is there another way (possible with CSS) to
avoid
> text wrapping?

There is no 'wrap' attribute in any offical version of HTML (it was a 
proprietary Netscape extension), so the HTML taglib doesn't support it. 
It's easy to get the same effect with CSS, though: use the 'white-space: 
nowrap' style.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to