0

I have an InfoPath form that I've created and inserted on a SharePoint page via an InfoPath Web Part. When I insert the form it does not fit flush edge to edge within the web part, there is white space all around it. I tried resizing the form, however, it only causes the web part and corresponding whitespace to also expand. How can I get rid of this whitespace so the form displays properly on the page?

enter image description hereenter image description here

  • Can you post a screenshot of the InfoPath Form as how it shows up in InfoPath Preview? – Ramana Viswanadha Mar 24 '16 at 18:25
  • Added screen shot of what it looks like within preview in InfoPath – Ashley Stevens Mar 24 '16 at 19:37
  • Is that grey border with the latin part of your form? – Ramana Viswanadha Mar 24 '16 at 19:43
  • No that is the background of the page the web part was placed on. – Ashley Stevens Mar 24 '16 at 20:16
1

I don't think we can get it totally flush without modifying the CSS. But we can get it closer and remove the white background.

  1. Open the form in InfoPath Designer
  2. Click in the white space outside of the table
  3. Click the Align Left button in the Format Text section of the Home Ribbon. List item

  4. Click the Page Design tab

  5. Click the Properties button

    enter image description here

  6. Check the box for "Use a background color" and select the color that matches your table background color.

  7. Click OK and publish the form.

Please let me know if that works.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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