Re: Spacing (was IMG in PRE?)

Walter Ian Kaye wrote:
> One thing we definitely need, at least for representing computer source
> code, is the ability to prevent collapsing multiple spaces. If I need to
> display a literal of "qd  " (4 characters, spaces significant), it must
> NOT get munged by the browser. What I have to do currently is place a
> comment next to it, stating that there are two spaces there. I tried
> using <pre> and <tt> and <code> -- none were satisfactory (<tt> and
> <code> did not prevent collapsing, and <pre> added line breaks and was
> therefore unusable inline).
You can use <code> with &nbsp; and have something like this:

IF expr THEN<br>

Life is a sexually transmitted disease.

Received on Tuesday, 14 May 1996 20:42:07 UTC