Re: Browser differences within <PRE> tags...

Glenn Vanderburg (glv@utdallas.edu)
Fri, 1 Jul 1994 09:54:42 -0500


To: jlewis@quark.qrc.com
Cc: Multiple recipients of list <www-html@www0.cern.ch>
Subject: Re: Browser differences within <PRE> tags... 
In-Reply-To: Your message of "Fri, 01 Jul 1994 08:46:25 -0500 (CDT)"
             <9407011338.AA22298@qrc.com> 
Date: Fri, 1 Jul 1994 09:54:42 -0500
From: Glenn Vanderburg <glv@utdallas.edu>
Message-Id: <94Jul1.095733cdt.13627@utdallas.edu>

> I am in the process of converting some documents, and have come across yet
> another inconsistency between platform web browsers.  My question is, which
> way of interpretation is correct?
> 
> Below is the HTML in question, note the <B> formatting within the <PRE> tags:
[rest deleted ...]

A friend recently encountered something like this.  He was putting together
a form, and he wanted two lines to look like this:

   Username: ______________
   Id:       ______________

Instead, it was coming out like this:

   Username: ______________
   Id: ______________

He finally solved the problem by enclosing the whole thing, <INPUT>
tags and all, inside a PRE element.  I was astonished that this worked.
Predictably, it turned out that it worked with one browser (xmosaic) and
not with another (lynx).

The current HTML 3.0 DTD explicitly permits this, and the current HTML 2.0
DTD (which, I am aware, does not necessarily reflect reality) explicitly
prohibits it.

Regards,
Glenn Vanderburg