This is a migrated thread and some comments may be shown as answers.

captcha css problem

1 Answer 102 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
Danar
Top achievements
Rank 1
Danar asked on 09 Mar 2013, 07:40 AM
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>

 

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 11 Mar 2013, 04:21 AM
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.
Tags
Captcha
Asked by
Danar
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or