I am currently facing an issue with aligning a dynamically populated form within an iframe to the center of the webpage. Despite trying to use padding-left:13% to center the form, I encountered a problem with the form displaying a scroll bar and empty space when the screen resolution is reduced. Even using the iframe attribute align="middle" did not solve the issue of aligning the form data in the center.
<div align="center" ng-show="viewForm" style="width:100%">
<iframe ng-if="formType=='formABC'" style="height: 429px;width:100%" align="middle" src="{{'claims/ClaimView/formABC.html}}"></iframe>
</div>
If you have any suggestions, please advise. Thank you.