Re: [xslt] LibXSLT adding annoying whitespace



Le Wed, Jun 13, 2001 at 12:57:03AM -0400, Daniel Veillard écrivait:
> If you can tell me more about why this is different I may try to get
> this fixed, but I really don't see why ! <br> has to be formated on a separate
> block under the img and the anchor/img block has to be formated on another
> one under the <br>, so I really don't see why and how the 2 extra lines
> can impact the rendering in any way.

It is rendered differently because of spaces. 

<img><img> would cause 2 images to be more or less joined.
However <img> <img> would not join images since there's a
space between ...

<img><br><img> is exactly the same except that you work vertically instead
of horizontally. If you put spaces, images will no more be joined.

I always found that annoying but it's done this way in all browsers.

Cheers,
-- 
Raphaël Hertzog -+- http://strasbourg.linuxfr.org/~raphael/
Le bouche à oreille du Net : http://www.beetell.com
Naviguez sans se fatiguer à chercher : http://www.deenoo.com
Formation Linux et logiciel libre : http://www.logidee.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]