How to Fix Misaligned InfoPath Forms in SharePoint Server
Question details
The user needs to fix alignment issues with fields and attachment boxes in an InfoPath form hosted on a SharePoint Server.

- Product
- SharePoint Server 2016, InfoPath
- Device & OS
- not provided
- Scenario
- Viewing or interacting with a published InfoPath form in a SharePoint Server document library.
- Observed behavior
- Fields and attachment boxes appear misaligned on the form layout, and standard adjustments to fonts and basic controls do not resolve the visual irregularities.
Ensure you have the necessary designer or administrator permissions in SharePoint Server 2016 to modify and republish InfoPath forms.
Adjust Form Size Ratios in InfoPath Designer
Correct alignment issues by checking the aspect ratio and control dimensions directly within the InfoPath Designer application.
Forms often display differently in the web browser compared to the InfoPath client. By strictly defining widths and utilizing layout tables, you can force the controls to respect their alignment.
Launch InfoPath Designer and open the specific form template (.xsn) that is experiencing alignment issues.
Select the misaligned controls and place them inside a custom layout table to enforce strict alignment rules.
Right-click the problematic fields or attachment boxes, go to Properties, and manually set their exact Width and Height in pixels rather than leaving them on automatic settings.
Preview the form to verify the new size ratio, then click File > Publish to update the form in your SharePoint Server 2016 document library.

Seek Assistance in the SharePoint Server Community
Leverage community expertise for complex, environment-specific issues in SharePoint Server 2016.
Migrate Legacy InfoPath Forms to Power Apps
Transition away from legacy InfoPath forms to modern Power Apps for a responsive and flexible form design.
Experience Seamless Document Editing with WPS Office
While troubleshooting legacy SharePoint and InfoPath forms can be complex, handling your daily documents shouldn't be. WPS Office offers a highly compatible alternative to Microsoft Office for creating, editing, and managing your essential spreadsheets, documents, and presentations without the heavy layout glitches.
- 1. Download the software: Visit the official WPS website and download the free version for your operating system.
- 2. Open your files: Launch WPS Office and directly open any existing Microsoft Word, Excel, or PowerPoint files without conversion.
- 3. Edit and save: Edit your documents seamlessly and save them in their original formats to maintain full compatibility.

Frequently Asked Questions
Why are attachment boxes in InfoPath so difficult to align?
Attachment controls in legacy InfoPath forms often have fixed boundaries dictated by the classic SharePoint experience framework. These predefined styles often override manual adjustments, making manual resizing difficult without placing them inside strict layout tables.
Can I use modern SharePoint features with InfoPath?
No, InfoPath forms are heavily reliant on the classic SharePoint experience to render properly. Using modern SharePoint library views will often cause InfoPath forms to fail or display severe layout errors.
Is InfoPath still supported by Microsoft?
InfoPath 2013 is the final version of the software. While it remains supported for use alongside SharePoint Server 2016, it is officially classified as legacy technology. Microsoft strongly recommends transitioning to Power Apps for any new form development.
How do I switch back to the classic SharePoint experience to test my form?
Navigate to the bottom-left corner of your SharePoint document library or list page and click the 'Return to classic SharePoint' link. This forces the page to reload in the legacy mode, ensuring maximum compatibility for rendering your InfoPath forms.




