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?
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.
- Open the form in InfoPath Designer
- Click in the white space outside of the table
Click the Page Design tab
Click the Properties button
Check the box for "Use a background color" and select the color that matches your table background color.
- Click OK and publish the form.
Please let me know if that works.