Friday, 25 July 2014

Upper Case in TextBox by CSS

<style>
        .uppercase {text-transform:uppercase;}
        .lowercase {text-transform:lowercase;}
        .capitalize {text-transform:capitalize;}
</style>

<asp:TextBox ID="txtName" runat="server" Width="555px" class="uppercase" MaxLength="75"></asp:TextBox>

No comments:

Post a Comment