- From: Stefan Borggraefe <sbo@irb.cs.uni-dortmund.de>
- Date: Wed, 17 Mar 1999 08:43:52 -0500 (EST)
- To: "Arne Stenstadvold, ABTV" <arne@abtv.no>
- cc: "'www-html@w3.org'" <www-html@w3.org>, sbo@aladin.cs.uni-dortmund.de
> 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?
The <pre> element can occur in a context where wordwrap is enabled. I think the
REC means that <pre> can disable it in this context.
Example:
<p>
Wordwrap is enabled here.
<pre>
Wordwrap may be disabled here by the browser.
</pre>
<p>
Wordwrap is enabled again.
To achive a <pre>-region with wordwrap you could also use <pre style="white-space:normal">,
but this doesn't work with IE 4 and 5 BETA either.
> 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
>
Stefan Borggraefe
\|/
@-@
+----------------------------------------oOO-(_)-OOo---------------+
| Stefan Borggraefe, Dortmund, Germany _ |
| Home : borggraefe@bigfoot.com _ // |
| Work : borggraefe@irb.informatik.uni-dortmund.de \X/ |
| WWW : http://irb-www.informatik.uni-dortmund.de/~sbo/ |
+------------------------------------------------------------------+
Received on Wednesday, 17 March 1999 09:09:46 UTC