none
PS 2010 PDP Text Wrapping in Long Text (Rich Text) field RRS feed

  • Question

  • I inserted an enterprise custom field into a PDP.  The field is a rich text field.

    When end users enter text, the text is not automatically wrapping.  Instead, the interface is expanding to accommodate long text strings.  Is there a way to enforce text wrapping in the long text fields when inserted into a PDP?

     

    Tuesday, December 13, 2011 8:07 PM

All replies

  • I don't know of any OOB setting for this - but if the Field webpart on the PDP is not behaving to your liking, you could try opening the PDP page in SharePoint designer and adding JavaScript/CSS to change the attributes of the various input tags.

    After locating the elements you need wrap you could try applying CSS like this:

        word-wrap: break-word;    
        white-space: pre; 
    

    (... or other CSS methods to force wrapping - I'm sure there are plenty of CSS gurus out there with better methods)

    Does that help?

    Cheers,

       James.

     


    James Boman - http://www.boman.biz Software Consultant for IPMO - http://www.ipmo.com.au
    Wednesday, December 21, 2011 11:42 PM