|
OK - Public Political statement. Netscape 6 Stinks a lot. Statistics... 85% People use IE. 14% Use Netscape, 1% use Mac, and 4 People use Netscape 6. 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: Phil Groschwitz [SMTP:phil@groschwitz.com] Sent: Thursday, March 29, 2001 11:45 AM To: WEB400@midrange.com Subject: Re: Simple (?) HTML problem OK, I may have a solution. But, you've got to use Netscape 6. That probably kills this solution, doesn't it. Here it is anyway: Use this stylesheet: (named jon.css) /********/ P{ background-color:Aqua; } TD { font: 15px monospace; white-space: pre; } /********/ and this html (jon.htm) from Anton: /*********/ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Jon</TITLE> <META http-equiv=Content-Type content="text/html; charset=windows-1252"> <link rel="stylesheet" type="text/css" href="jon.css"> </HEAD> <BODY> <TABLE> <P> Following is some data:</p> <TR> <TD>Heading</TD></TR> <TR> <TD>1 3 5</TD></TR> <TR> <TD>12345678901234567890</TD></TR> <TR> <TD>JK LMN O P QR </TD></TR> <TR> <TD>More test data</TD></TR> </TABLE> </BODY></HTML> /***********/ This preserves the whitespace. The only necessary stylesheet element is white-space: pre. I included the others so you can tell if anything is working. whitespace is valid in CSS1 only. And the only browser I could make it work in was Netscape 6. Phil ----- Original Message ----- From: "Anton Gombkoto" <Anton.Gombkoetoe@avenum.com> To: <WEB400@midrange.com> Sent: Thursday, March 29, 2001 3:59 AM Subject: RE: Simple (?) HTML problem > > >Replacing every space with   is just a pain but it looks > >like the only answer. > > Sorry about the <tt>; it looked so good. > > There's another solution by means of cascading style sheets, like several > people said, where you can control almost everything concerning presentation. > > If that's suitable for you, (needs relatively modern browsers) i'm sure > that we all can work it out here. Everybody trying to put some piece of > code online should have the same problem. > > (I used <pre> for mine, but i didn't do it in a table; i used <pre> more > like <p>. And i was surprised that the w3c checker felt OK with <pre> > inside a <td>.) > > > > Mit freundlichen Grussen / best regards > > Anton Gombkoto > > Avenum Technologie GmbH > Wien - Mattsee - Stuttgart > e-mail Office : mailto:Anton.Gombkoetoe@avenum.com > Homepage : http://www.avenum.com > > Lest das Redbook / read the redbook "Who knew you could do that with RPG?": > http://www.redbooks.ibm.com/abstracts/sg245402.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 > +--- > > +--- | 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 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.