[thelist] CSS for nobr

Aylard JA (James) jaylard at equilon.com
Mon Dec 11 17:51:38 CST 2000


Michael,

> OK, here is another. What is the "proper" CSS1/HTML 4 method for 
> performing a softwrap within a <textarea> tag? For example:
> 
> <textarea name="comments" cols="80" rows="5" 
> wrap="virtual"></textarea>

	Off-hand, I don't think there is one. The "wrap" attribute is not
valid under HTML 4.x, although both IE and Netscape support it. But AFAIK a
softwrap is the default in most (all?) browsers, anyway.
	If you are wanting to remove carriage returns altogether, I suggest
that you use a server-side script to scrub your value of unwanted
characters.

James Aylard




More information about the thelist mailing list