|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: HTML <img> </img> causing whitespace
Hi Steve,
the snippet is a bit to little ;-) Please give a more or the complete
stylesheet.
Where do you get the whitespace? In the HTML-output or in the browser? And I
don't understand what's the problem with a whitespace before a linebreak.
But one hint I can give you: If you have the whitespace only in the browser
and the stylesheet ist set to indenting (<xsl:output indent="yes">) the
HTML-code has a linebreak between </a> and </br>.
And you can shorten your code by using attribute value templates:
<a href="{mdul_code}">
<img width="122" height="22" border="0" name="/nam_{mdul_code}"
src="/sid_{mdul_code}.gif" alt="{mdul_label}"/>
</a><br/>
Regards,
Joerg
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








