<asp:UpdatePanel runat="server">
<ContentTemplate>
<div style="padding: 0px 45px 0px 45px">
<asp:FormView ID="fvAccounts" runat="server" DataKeyNames="AccountId" DataSourceID="edsAccounts" EnableModelValidation="True" Width="100%">
<EditItemTemplate>
<%-- continuing --%>
I want the FormView to be 45px (hippos :P) away from the page’s width, so I wrapped it with a div setting its padding to 45 for right and left, but it didn’t work; the right side goes out the div. I want it to be minimized within the div.
Note the black line in the image, it shows where the edge of the parent is, I want the external right side to be 45px away from it to inside.

Well I solved my issue in quite a different way.
I set the FormView’s Width to 80% and I wrapped it with a center Html tag.