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

(Sorry) Did it again with Font tags requesting "Courier" - Fixed font - Works a 
little better...
<HTML>
<BODY>
<TABLE border="1" rules="groups" width="800" cellpadding=5>
 <THEAD BGCOLOR="#94D6E7"> 
 <TR> 
  <TD><font face="Courier New, Courier, mono">Heading</font></TD>
 </TR>
 </THEAD> <TBODY> 
 <TR> 
  <TD><font face="Courier New, Courier, mono">         1         2</font></TD>
 </TR>
 <TR bgcolor="#C6EFF7"> 
  <TD><font face="Courier New, Courier, mono">12345678901234567890</font></TD>
 </TR>
 <TR> 
  <TD><font face="Courier New, Courier, mono">JK LMN O P QR </font></TD>
 </TR>
 <TR bgcolor="#C6EFF7"> 
  <TD><font face="Courier New, Courier, mono">More test data</font></TD>
 </TR>
 </TBODY> 
</table>
</body>
</HTML>
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:   Joe Teff [SMTP:JoeTeff@earthlink.net]
Sent:   Tuesday, March 27, 2001 7:59 PM
To:     WEB400@midrange.com
Subject:        RE: Simple (?) HTML problem

The cellpadding will have a little effect. I've seen before that <pre>
doesn't mix real well with tables.

Joe Teff

-----Original Message-----
From: owner-web400@midrange.com [mailto:owner-web400@midrange.com]On
Behalf Of Jon.Paris@hal.it
Sent: Tuesday, March 27, 2001 5: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
+---

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

Follow-Ups:

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

This mailing list archive is Copyright 1997-2020 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].