• Subject: RE: Simple (?) HTML problem
  • From: "Phil Groschwitz" <phil@xxxxxxxxxxxxxx>
  • Date: Tue, 29 May 2001 10:49:38 -0400
  • Importance: Normal

Jon,

I stumbled upon another tag that may be useful in the future: xmp

It still puts a blank line in between but it does seem to preserve spacing
and you can also put other html tags within the xmp tags and they will
display on the screen.

Phil

-----Original Message-----
From: owner-web400@midrange.com [mailto:owner-web400@midrange.com]On Behalf
Of Jon.Paris@hal.it
Sent: Wednesday, March 28, 2001 2:50 PM
To: WEB400@midrange.com
Subject: RE: Simple (?) HTML problem


 >> I've seen before that <pre> doesn't mix real well with tables.

You can say that again Joe.  I think Simon has hit it on the head with his
post.  The darned <pre> tag causes the equivalent of a <br> at the end of
the block and that's what messes the thing up.  I tried to wrap a number of
rows into the <pre> block but that doesn't help.  The first line works
beautifully but the browser effectively inserts a </pre> at the end of the
row and so all subsequent rows lose the <pre> attribute.

Unless someone can tell me that style sheets offer me a formatting option
that will deal with this, I'm just going to have to give up and replace
every blasted space with an &nbsp.  Bummer - it all looked so simple when I
started out!!

Thanks to all for their help on this.

+---
| 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
+---

+---
| 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 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.