Wordwrap in <PRE>-formatted text

Hi!

Anybody out there who can help me with information on how to get wordwrapping in preformatted text?
I use the <PRE> command, but need the text to wrap according to the size of the browser window.

With Netscape Navigator (v.4.5) I can use the tag:

<PRE WRAP> or
<PRE WRAP="virtual"> (the value "virtual" could be anything at all, it works anyway)

This does NOT work with Microsoft Internet Explorer (v.3.02 or v.4.0)
Most employees in my company use MSIE, so I need a command that work with this browser.

I have looked thorugh the HTML recommendations on the W3.org site, and I can't find anything that suggests wordwrap in PRE-formatted text. 
BUT it says on the page:  "http://www.w3.org/TR/REC-html40/struct/text.html#h-9.3.4"
that the <PRE> command:

" - May leave white space intact.
  - May render text with a fixed-pitch font.
  - May disable automatic word wrap.
  - Must not disable bidirectional processing."

The use of the word "MAY" leads me to believe that it is possible to ENABLE wordwrap.
But how? And what is the command? And are there different commands for different browsers?

Appreciate any input you can give me.
If this is the wrong list to ask this question, please tell me!


Arne Stenstadvold

arne@abtv.no
IT-administrator
web-master
www.abtv.no

Received on Wednesday, 17 March 1999 07:48:01 UTC