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?
-
Can you post a screenshot of the InfoPath Form as how it shows up in InfoPath Preview?Ramana Viswanadha– Ramana Viswanadha2016-03-24 18:25:08 +00:00Commented Mar 24, 2016 at 18:25
-
Added screen shot of what it looks like within preview in InfoPathAshley Stevens– Ashley Stevens2016-03-24 19:37:55 +00:00Commented Mar 24, 2016 at 19:37
-
Is that grey border with the latin part of your form?Ramana Viswanadha– Ramana Viswanadha2016-03-24 19:43:24 +00:00Commented Mar 24, 2016 at 19:43
-
No that is the background of the page the web part was placed on.Ashley Stevens– Ashley Stevens2016-03-24 20:16:41 +00:00Commented Mar 24, 2016 at 20:16
Add a comment
|
1 Answer
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 Align Left button in the Format Text section of the Home Ribbon.

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.


