SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Description for second item is not displaying completely as like the first item in CQWP when using itemstyles. The below custom itemstyle i have used.

            <div class="Corpdescriptionstyle" style="height:200px;">
            <xsl:value-of select="substring(@Description, 0, 690)" disable-output-escaping="yes" />
            <a href="{$SafeLinkUrl}">..more</a></div>


share|improve this question

You have a substring for 690 characteres max to display

<xsl:value-of select="substring(@Description, 0, 690)" disable-output-escaping="yes" />

Are you sure that your description is less than 690 chars?

If it is a case check the height of you container: you have set this to 200px. Try to remove this height to check if it is the case.

Hope it helps,


share|improve this answer
Description is less than 690 characters, for the first item,only the first line is displaying. And for the second item, it displaying more than 5 lines – Aathi Feb 14 '13 at 10:05
Try to read this post -…, maybe it helps – Andrew Adamich Feb 14 '13 at 10:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.