Forum Moderators: open

Message Too Old, No Replies

html 4.01 Validation Question

alternative to wrap attribute

         

keyplyr

9:20 am on Jan 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



wrap="virtual" is not Valid HTML 4.01 Transitional says W3C Validator. Is there another attribute that serves this function for <textarea>?
Thanks

Brett_Tabke

9:33 am on Jan 11, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Just don't use it. No ill effects as far as I know. If I recall correctly, NN 3 was the only one that needed it?

DrDoc

8:46 pm on Jan 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, it depends on whether the width of the text area is critical for the CGI output or not.

But, you can always add a little thingy to the script that line breaks after n characters .. That way you don't have to worry about the browser formatted line breaks at all ..

And, since the number of characters per line differs from one browser to another, that's another reason why you should get rid of it entirely.