I've been going through and working on validating some code, and I discover that apparently when working with a textarea, the attribute "wrap" is not supported by the W3 standard. I was wondering if there was a way to deal with this using CSS, or some other html attribute that will validate.
Before I dig into the <textarea> element, tell us what are you trying to accomplish, as opposed to asking how to implement what you've decided is the solution. I am not familiar with a "wrap" attribute. I'll guess it's about how white space is handled, but that doesn't tell me what the "physical" value is supposed to do. Is that an IE proprietary attribute? cheers, gary
OK, I just looked it up. "physical" is the default behavior of <textarea>, so just remove the attribute. cheers, gary
Ah. Thanks. Textwrap is used to describe how the text is entered is translated into text received by whatever is handling the form. Physical text wrap causes there to be a line break wherever the text wraps in the box. Logical only causes a break when someone hits the enter key.