Long header causes all form fields to shift to the right

Forums Dynamic Forms for SharePoint Long header causes all form fields to shift to the right

This topic contains 3 replies, has 2 voices, and was last updated by  Alexander Bautz 3 years, 9 months ago.

  • Author
  • #7744

    Jon Whisman

    I’m on SharePoint 2010 using DFFS backend v4.260. I’ve created a header with a long string of text in it that serves as a piece of text that the user needs to read and acknowledge a field before they can save. After creating the header, all form fields have shifted to the right. I’ve tried nesting this header text inside of a table with <td colspan=”2″> and have also tried using the .dffs_tdWrap {white-space: normal;} class and neither have helped. Have also tried a class with this in it:

    column-span: all;
    -webkit-column-span: all;
    -moz-column-span: all;
    -ms-column-span: all;
    -o-column-span: all;

    A screenshot is atatched.

  • #7746

    Alexander Bautz

    To restrict the width of this text, you must wrap it in for example a <div> like this:

    <div style="width:400px;">Bacon ipsum dolor amet t-bone pig turducken bresaola. Drumstick meatloaf jowl salami leberkas venison. Kielbasa prosciutto ribeye rump boudin, jerky pig leberkas hamburger strip steak ham hock turducken bresaola. Pastrami prosciutto biltong filet mignon. Pancetta t-bone chuck shoulder, ribeye jerky rump short ribs turkey capicola venison. Brisket pastrami jerky sausage rump bacon biltong cupim strip steak beef ribs shankle chuck turkey ribeye swine.</div>

    Hope this helps,

  • #7747

    Jon Whisman

    That did it! Thank you very much. Obviously, I was making it way too complex. Thanks for all the bacon and salami.

  • #7754

    Alexander Bautz

    I’m glad it worked – you find more bacon here: https://baconipsum.com


You must be logged in to reply to this topic.