Re: [xslt] <img> and whitespaces



On Thu, Jul 05, 2001 at 09:52:45AM +0100, Fredrik Wahl wrote:
> 
> What's the status of the discussion about whitespaces around <img> (and
> possibly other) tags?

  Supposed to be fixed.

> I encounter the problem when having several images in a tablecell, like
> <td><img><img></td>.
> After transformation the HTML looks like: 
> <td>
> <img><img>
> </td>
> 
> which adds the famous whitespace after the last image.
> 
> I solved my problem by setting the <td> as inline in HTMLparser.c (libxml),
> but does anyone have a better solution how this should be handled?

  Hum, TD is not part of the inline elements
    http://www.htmlhelp.com/reference/html40/inline.html
So why should this space matter ?
Changing this in the HTMLparser.c table is not a problem for me but
I would like to understand the problem.

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
Sep 17-18 2001 Brussels Red Hat TechWorld http://www.redhat-techworld.com




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