I'm not sure whether this is really a browser error. Multiple spaces and line
breaks are usually interpreted as one space by browsers, which makes a sense (it
is fine in text but breaks down an image based layout).

The easiest way to solve your particular problem seems to be to change your XML
from

 <adver width="150" height="70">
  <banner .../>
  <banner .../>
  <banner .../>
 </adver>

to

 <adver width="150" height="70"><banner .../><banner .../><banner .../></adver>

Regards,
Petr

Alexey wrote:

> Hello Michael,
>
> Sunday, February 11, 2001, 4:05:42 PM, you wrote:
>
> MB> Can you show us a sample of your source and the XSLT template that
> MB> produces this output?
> MB> Michael
> MB> ------------------------------------------
> MB> Michael Beddow
> MB> http://www.mbeddow.net/
>
> Yes, hereby I put examples and repeat the question.
>
> Hello, All!
>
> Can anybody help me (but I think this is not Sablotron specific question) with
> such problem: I have to get clean html code from xml/xslt without any
> space characters like tabulation, space and CR/LF. My target html code
> have to include such sequence:
> ------------------------------
> <td><img src="smth1.gif"><img src="smth2.gif"><img src="smth3.gif"></td>
> ------------------------------
>
> but I get (and in that case I get spoiled layout in the browser):
> ------------------------------
> <td>
> <img src="smth1.gif">
> <img src="smth2.gif">
> <img src="smth3.gif">
> </td>
> ------------------------------
> I tried to turn "indent" to "no" position in XSL and ommit all space
> chracters in the one but the result is the same.
>
> Examples is attached with e-mail.
>
> --
> Best regards,
>  Alexey
>
>   ------------------------------------------------------------------------
>                 Name: test.html
>    test.html    Type: Hypertext Markup Language (text/html)
>             Encoding: base64
>
>                Name: test.xsl
>    test.xsl    Type: XML Document (text/xml)
>            Encoding: base64
>
>                Name: test.xml
>    test.xml    Type: XML Document (text/xml)
>            Encoding: base64

--
Petr Cimprich
Ginger Alliance Ltd.
www.gingerall.com


Reply via email to