Re: IMG in PRE? -Reply

Scott E. Preece (
Mon, 13 May 1996 14:22:40 -0500

Date: Mon, 13 May 1996 14:22:40 -0500
From: (Scott E. Preece)
Message-Id: <>
In-Reply-To: Charles Peyton Taylor's message of Mon, 13 May 1996 11:13:35 -0800
Subject: Re: IMG in PRE? -Reply

 From: Charles Peyton Taylor <>
| Since all spaces and letters in a monospaced font
| are always the same relative size, formatting works
| in <pre>.  Add images, and all is screwed.
| BTW: why not use <TT> instead of pre?  What is it that
| you're looking for in <pre> that you can't do with
| <tt>?

Well, PRE seems to control three separate things:
	1. it sets the font to monospaced
	2. it suppresses autofilling of lines
	3. it preserves whitespace as individual characters

TT only controls one of those.  Another mode that would be
extremely useful is
	1. proportional type
	2. no autofilling
	3. preserve whitespace as provided (either by keeping
	as individual space characters or by tabbing to the
	indicated depth)
In addition to the obvious use for poetry, this would be good for
code, for those of us who believe code should be pretty-printed,
rather than monospaced.  One can work around (2), by using BR at
the end of each line, but (3) seems to be impossible [you can get the
effect with incredibly tortuous use of tables as layout devices, but
it's not really practical...].

There are also many instances where including IMG would *not* be
a formatting problem (the obvious one being where IMGs always
appear at the right of text (including the case of appearing on
lines of their own).  

Last time I looked, I don't think CSS1 would handle this, either.


scott preece
motorola/mcg urbana design center	1101 e. university, urbana, il   61801
phone:	217-384-8589			  fax:	217-384-8550
internet mail: