[thelist] XHTML Transitional: wrap="virtual" not allowed

Sharon F. Malone sfmalo at 24caratdesign.com
Sat Oct 26 15:45:01 CDT 2002


> > While running a new page with a form thru the W3C validator yesterday,
> > an error was generated to the effect that wrap="virtual" is not
> > allowed.
> >
> > Is there any other way to control wrapping in a textbox?
>
>
> I believe textarea's wrap attribute was deprecated because the textarea
> value is now submitted exactly as the user enters it. I am not aware of
> any CSS properties which would have the same effect.
>
> You can always filter server-side for linebreaks (in the script to
> which the form submits). Or, use an older HTML doctype (perhaps HTML
> 3?) that will validate with a textarea wrap attribute.
>
> Mars :)

Thanks, Mars, Think I'll opt for line breaks in the script rather than HTML3 (lawsy!).

Sharon
---------------------------------------------------------------------------
Sharon F. Malone
"web design and Internet writing services"
http://www.24caratdesign.com
sfmalo at 24caratdesign.com




More information about the thelist mailing list