Word-wrap a long header on display form

Forums Dynamic Forms for SharePoint Word-wrap a long header on display form

Viewing 3 reply threads
  • Author
    Posts
    • #10516
      Carl E Tippins
      Participant

      On the Display form, how do you get the header word-wrap?
      I’m trying to make the entire field width smaller, but the header is longer than the width I want to use.
      I’ve got the header wrapping on the New and Edit forms, but the CSS I used for those forms don’t work on the Display form.

    • #10606
      Alexander Bautz
      Keymaster

      Hi,
      Can you add an image of the form so I’m sure I understand what you mean?

      Alexander

    • #10631
      Carl E Tippins
      Participant

      Here’s a screen shot of the header I’m dealing with.

      Attachments:
    • #10634
      Alexander Bautz
      Keymaster

      Hi,
      It’s a bit cumbersome to set this up, but here is an example – replace “FieldNumber4” with your fieldinternalname and 100px with the width you want the label to break at:

      #sbs_FieldLabel_FieldNumber4 .dffs_tdWrap{
      	width:100px;
      }

      Alexander

Viewing 3 reply threads
  • You must be logged in to reply to this topic.