This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: outputting &nbsp to HTML (not so final answer)


-- Aniceto López [Mon, 17 Dec 2001 17:49:26 +0100]:
>THANKS Jeni T. for your big efford teaching me.
>
>In this case I can't use <xsl:output encoding="US-ASCII" /> due to
>other important problems and many times this "<td>&nbsp;</td>" is not
>the only way I have to use non-breaking space. Web design is forcing
>me
>to use &nbsp;&nbsp;&nbsp;&nbsp;... (the only way in htm to have some
>" " concatenated) so I still need the "&nbsp;" and the only solution
>I fint is the so hated

maybe I'm missing something, but if you need to sue &nbsp;, there is probably a better way to design it.

try using stylesheets and padding:

<html>
	<head>
		<style type="text/css">
			SPAN.padded {
				padding-right: 4em;
			}
		</style>
	<body>
		This is a sentence where <span class="padded">These words</span> are highly padded on the right.
	</body>
</html>


---
Eric Vitiello
Perceive Designs
<www.perceive.net>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]