• Subject: RE: Simple (?) HTML problem
  • From: Andrew Borts <andrewb@xxxxxxxxxxxxxxxxxxx>
  • Date: Tue, 27 Mar 2001 20:07:40 -0500
  • Organization: Seta Corporation

I added the font selection - maybe that will help?

<HTML>
<BODY>
<TABLE border="1" rules="groups" width="800" cellpadding=5>
 <THEAD BGCOLOR="#94D6E7"> 
 <TR>
  <TD> 
   <pre><font face="Courier New, Courier, mono">Heading</font></pre>
  </TD>
 </TR>
 </THEAD> <TBODY> 
 <TR>
  <TD> 
   <pre><font face="Courier New, Courier, mono">         1         
2</font></pre>
  </TD>
 </TR>
 <TR bgcolor="#C6EFF7">
  <TD> 
   <pre><font face="Courier New, Courier, 
mono">12345678901234567890</font></pre>
  </TD>
 </TR>
 <TR>
  <TD> 
   <pre><font face="Courier New, Courier, mono">JK LMN O P QR </font></pre>
  </TD>
 </TR>
 <TR bgcolor="#C6EFF7">
  <TD> 
   <pre><font face="Courier New, Courier, mono">More test data</font></pre>
  </TD>
 </TR>
 </TBODY
</BODY>
</HTML>> 
</TABLE>
Andrew Borts / E-Commerce Project Leader
Seta Corporation
6400 East Rogers Circle
Boca Raton, FL 33499

E-mail: Andrewb@setacorporation.com 
Corporate web site http://www.setacorporation.com 
E-Commerce web site http://www.palmbeachjewelry.com
Voice: 561-994-2660 Ext. 2211 / Fax: 561-997-0774


-----Original Message-----
From:   Jon.Paris@hal.it [SMTP:Jon.Paris@hal.it]
Sent:   Tuesday, March 27, 2001 6:49 PM
To:     web400@midrange.com
Subject:        Simple (?) HTML problem

I am working on a simple "print" CGI program and cannot get the HTML to
co-operate.  Can anybody tell me what I'm missing.

The code below shows basically what I'm trying to do.  It is a simple table
to contain pre-formed print lines.  The tags that are causing the problem
are the <PRE> ones.  They work just fine in terms of maintaining the
spacing within a line, but they cause the row height to be doubled for no
reason I can see.  It seems to me that I should be able to use <CODE>
instead.  True enough this resolves the height issue, but also causes the
line spacing to get scewed up because multiple spaces are compressed.  This
seems very strange behaviour for a tag designed to allow you to show code
samples but .....

 <HTML><BODY>
 <TABLE border="1" rules="groups" width="800" cellpadding=5>
   <THEAD BGCOLOR="#94D6E7">
     <TR><TD><pre>Heading</pre></TD></TR>
   </THEAD>
   <TBODY>
     <TR><TD><pre>         1         2</pre></TD></TR>
     <TR bgcolor="#C6EFF7"><TD><pre>12345678901234567890</pre></TD></TR>
     <TR><TD><pre>JK LMN O P QR </pre></TD></TR>
     <TR bgcolor="#C6EFF7"><TD><pre>More test data</pre></TD></TR>
   </TBODY>
 </TABLE>
 </BODY></HTML>

Any inspirations ?


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