[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: HTML <img> </img> causing whitespace

Subject: Re: HTML <img> </img> causing whitespace
From: Jörg Heinicke <joerg.heinicke@xxxxxx>
Date: Wed, 5 Dec 2001 22:10:43 +0100
html img
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.