html - How to control the positions, layouts and fonts when there is an error and Response.Write(ex.Message) triggers? -


code below: .body { -webkit-font-smoothing: antialiased; font-size: 12px; line-height: 1.5; font-style: normal; font-variant: normal; font-weight: normal; font-family: "lucida grnde", "lucida sans unicode", helvetica, arial, verdana, sans-serif; margin-top: 0px; } .jumbotron { position:absolute; top: 10%; left: 50%; width:70em; height:auto; margin-top:auto; /*set negative number 1/2 of height*/ margin-left:-35em; /*set negative number 1/2 of width*/ border: 1px solid #ccc; background-color: #f3f3f3; display:block; } .detailview { top:0%; left:0%; width: 70em; height: auto; margin-top: auto; margin-left: auto; display:block; text-align:left; font-weight: normal; font-family:"lucida grnde", "lucida sans unicode", helvetica, arial, verdana, sans-serif; font-size: 12px; line-height: 2; } .approvebtn { position: initial; top:0%; left:0%; width:auto; height:auto; margin-top:auto; margin-left:auto; margin:auto; } <div class="jumbotron"> <div class="detailview"> asp:detailsview id="detailsview1" runat="server" autogeneraterows="false" datasourceid="sqldatasourcefw" gridlines="none" height="50px" horizontalalign="center" width="350px"> <fields> <!---some fields--> </fields> </asp:detailsview> </div> <div class="approvebtn"> <asp:button id="buttonapprove" runat="server" cssclass="cssbtn" onclick="buttonapprove_click" text="submit" /> </div> </div>

upon opening behaves but, if error occurs writes error message on body , buttonapprove moves left of (in chrome there no issue, in ie yes) , fonts within become bigger(issue in both chrome , ie). how can fixed?

thanks,


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -