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

unwanted space in scps

Subject: unwanted space in scps
From: TGolshan@xxxxxxxxxxxx
Date: Thu, 19 Jan 2006 11:16:20 -0800
sql spacing
Hello,

I am trying change text to smallcaps in the middle of text while relying 
on a CSS, but am having a spacing problem. Below is my code and results. 
Any suggestions? Thanks! -troy

XML snippet:
<p>H<scp>ere</scp> is my XML example</p>

XSL code:
<xsl:template match="p">
        <p><xsl:apply-templates/></p>
</xsl:template>
<xsl:template match="scp">
        <scp><xsl:apply-templates/></scp>
</xsl:template>

CSS code:
 scp {
        font-family:Verdana, Arial, Helvetica, sans-serif;
        font-size:75%;
}

HTML Output:
H<space>ERE is my XML example.....here is the problem! The extra space 
between H and 'ERE'. I have tried to do a <font size="-2"> in the HTML, 
but that does not work across all browsers. 

Desired HTML Output:
HERE is my XML example

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.