Re: HTML 3.2: PRE should not exclude IMG

At 3:59p -0600 05/31/96, Gerald Oskoboiny wrote:
>Walter Ian Kaye writes:
>> I use IMG inside of PRE on my "Directory of Files" page. It works
>> perfectly, though I use it in a "relatively safe" way, I think. :)
>> The algorithm Netscape uses is pretty simple:
>>  1--2--3--4--5--6--7--8--9--0--1--2--3--
>>  _____
>>  |:::| s--o--m--e--   t--e--x--t--
>>  |:::|
>>  '---'
>>  a--n--d--   m--o--r--e--
>> The image is 1.5 characters wide, so the following text begins at the next
>> "whole" character position. With a monospace font, the relationship between
>> characters and pixels is a very short arithmetic formula, so laying this
>> out is child's play for the browser.
>This isn't a safe use of IMG within PRE, because it is impossible to
>create an image that's "1.5 characters wide."

Just to be clear, I'm not trying to align the "s" with the "d"; it might
align with the "n" or the space or the following "m". My point is about the
ease of the browser's calculation for making the "s" align with *a* column.

    Walter Ian Kaye <>     Programmer - Excel, AppleScript,
          Mountain View, CA                         ProTERM, FoxPro, HTML     Musician - Guitarist, Songwriter

Received on Friday, 31 May 1996 18:56:19 UTC