• Subject: Follow-up to "Simple HTML problem"
  • From: Jon.Paris@xxxxxx
  • Date: Thu, 5 Apr 2001 14:04:47 -0400

Many thanks to all of you you helped with my problems with the <PRE> tag.

Just thought I'd let you know that I discovered a "solution" (?) by
accident yesterday.  My generated HTML was getting messed up, with the
result that while I had a <PRE> tag in each table row I did not have an
</PRE>.  For some reason when the browser defaults the end of the <PRE>
group when it ends the row, it does not insert the CR that caused my
problems!!  Don't know how universal this is but it works in IE5.5 and
Netscape 4.73.

If you try the code below, I'd be grateful if you'd let me know if it
causes problems with any browsers.

<html><body><table border=1>
<tr><td><pre>No end tag on this line</td></tr>
<tr><td><pre>or this one</td></tr>
<tr><td><pre>But this one has one</pre></td></tr>
<tr><td><pre>So does this </pre></td></tr>
<tr><td><pre>And here it is gone again</td></tr>
</table></body></html>



+---
| This is the WEB400 Mailing List!
| To submit a new message, send your mail to WEB400@midrange.com.
| To subscribe to this list send email to WEB400-SUB@midrange.com.
| To unsubscribe from this list send email to WEB400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.