Issues with Text align on Button

1 posts, 0 answers
  1. Jagat
    Jagat avatar
    144 posts
    Member since:
    Jan 2011

    Posted 03 Oct 2017 Link to this post


    I am using this CSS Class for aligning text and setting the size.

    It does not increase the size of the text. Why is it not changing the size of the text on this button?

            text-align: center !important;
            font-size:x-large !important;
    <telerik:RadButton ID="btnSaveClient" runat="server" IsBackgroundImage="true" OnClick="btnSaveClient_Click"
                                       Text=" Update Client " CssClass="rbSave" >
                                      <Icon PrimaryIconCssClass="classCart" PrimaryIconUrl="~/Images/Save.png" />


    If i remove the CSS Class and manually set the size, it increases the size but does not align the text.It does not center the text. It appears as shown in the image below.

    What should i do align text and also set the size of the text?


    Thanks in Advance





Back to Top