captcha css problem

2 posts, 0 answers
  1. Danar
    Danar avatar
    2 posts
    Member since:
    Jun 2012

    Posted 09 Mar 2013 Link to this post

    Hello
    I have problem with rad captcha the image and textbox vertically does not fit mean image appear on left side and textbox appear inn the center  I tried add cssClass to the control 
    .captcha {
              text-align: center;
              direction: ltr;
          }
          img {
              text-align: center;
              direction: ltr;
          }
    <telerik:RadCaptcha ID="RadCaptcha1" runat="server" CaptchaTextBoxCssClass="captcha" CssClass="captcha"></telerik:RadCaptcha>

     
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 10 Mar 2013 Link to this post

    Hello Danar,

    The RadCaptcha image and textbox are not placed properly because of the CSS classes you added. By default the image and textbox is vertically aligned. Please have a look at the sample code I tried.

    ASPX:
    <telerik:RadCaptcha ID="RadCaptcha1" runat="server">
    </telerik:RadCaptcha>

    CSS:
    <style type="text/css">
        .RadCaptcha
        {
            margin-left: 35%;
        }
    </style>

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top