asp.net button text alignment in iphone safari -
my asp.net button text expremely aligned right. last char halfly not seen.
here code:
<table style="margin:0 auto;width:300px;"> <tr style="margin:0 auto;width:300px"> <td style="margin:0 auto;width:150px;"> <asp:button id="btnsaveandclose" onclientclick="if(!timesvalidation()) return false;" style="width:125px;height:44px;font-size:30px;text-align:left;" onclick="btnsaveandclose_click" runat="server" text="save , close" /> </td> <td style="margin:0 auto;width:150px;"> <asp:button id="btnsaveandnew" onclientclick="if(!timesvalidation()) return false;" style="width:150px;height:44px;font-size:30px;" onclick="btnsaveandnew_click" runat="server" text="save , new" /> </td> </tr> </table> how can solve it?
it has table based layout forcing button right.
i switch more modern approach page layout (div's , external css).
take @ question , answer idea of how this.
Comments
Post a Comment