tedd wrote: >However, neither using suggested "white-space: pre;" nor >"white-space: nowrap;" appear to work in any browser other than Opera. > >Please review: http://www.webbytedd.com/textarea.php > >I would like the TEXTAREA NOT to wrap lines -- is there any way >around this problem other than to use a depreciated rule? > > I have to admit that I see the whitespace behaviour in text areas more as behaviour than as presentation, probably because that text can change dynamically.
That said, it should be remarked that the wrap attribute is not deprecated - it never was standard, at least as far back as HTML 3.2. Soo ... the most interoperable solution while keeping valid static markup is probably to set white-space to nowrap/pre (should be identical, as spaces are never collapsed in text areas) and to use JavaScript to set wrap to off. Sebastian Redl ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
