XSL IF  and wrapping text

Larry Brister
Larry Brister used Ask the Experts™
My code below works nicely...except I can't force the text wrap

It just keeps pushing out to the right.

Any ideas?

<td colspan="2" Style="width:450px !Important;text-wrap: unrestricted; height:40px;">
    <xsl:for-each select="EMRecExperience/EMRec">
        <xsl:if test="not(position() = 1)">
        <xsl:value-of select="."/>
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
&#160; is a non-breaking space which makes all the output a single non breakable line.
If you replace &#160; with just regular space, the browser will break the line.

If you need to break line say, every 10 or so items, you need more complex solution.
Larry Bristersr. Developer


Starting to get my head around XML/XSL.  Been primarily SQL and VB programmer with literaly NO XSL over the years.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial