Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XSLT Lines don't wrap in Mozilla

Status
Not open for further replies.

elleryh

Programmer
Jul 16, 2004
4
US
I am using an xslt and an xsl, parsed by various web browsers.

In the xsl: <P class="body"><xsl:value-of select="metadata/idinfo/descript/abstract"/></P>


The problem is that Mozilla doesn't wrap this text as if it were in standard html. IE wraps it as normal. How can I Make the text wrap on the page?
 
Using Mozilla 1.6 this does wrap like it does in IE:
<html>
<body>
<p>
xxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyy zzzzzzzzzzzzzzzzz
</p>
</body>
</html>
So maybe something strange happens in the CSS-definition for 'P.body' ?
 
You guys are great. That was it. I had 'white-space:pre;' in a class that was being used for that section. Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top