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.

align <div> elements side side


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -