This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XML apparently cannot be used for general text markup: whitespace gripe
- From: Paul Terray <terray at 4dconcept dot fr>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 19 Mar 2002 13:27:13 +0100
- Subject: Re: [xsl] XML apparently cannot be used for general text markup: whitespace gripe
- Reply-to: xsl-list at lists dot mulberrytech dot com
To be complete, there is a way to preserve spaces on HTML for Netscape, by
using CSS : the white-space style. On IE, you have to use the <pre>
element, while changing the font if you don't like courrier.
So to preserve whitespaces, you can use this :
<pre style="font-family: Arial">my spaces are preserved</p>
Too bad IE does not support "white-space" CSS style.
--
Paul TERRAY - Documents Management Systems Engineer
email : terray@4dconcept.fr
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list