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

Would like rounded corners for image.

1 Answer 108 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 1
Joel asked on 02 Jun 2012, 01:24 AM
I'm trying to give the Captcha image rounded corners, and am not figuring it out.  I've attempted to use jQuery to wrap the image element in a span tag and setting the background image to use the same src, but that came up blank.  Now I'm trying to wrap in div tags, but they disappear whenever a new image is generated.

Perhaps I'm mistaken with my angle of attack - all I really want to do is give rounded corners and a border to the image.  Any advice on how to accomplish this would be most appreciated.

Thanks,
Joel

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 06 Jun 2012, 10:24 AM
Hello Joel,

Try the following CSS.
ASPX:
<telerik:RadCaptcha ID="RadCaptcha1" runat="server"  CaptchaImage-ImageCssClass="imgcss">
</telerik:RadCaptcha>

CSS:
<style type="text/css">
   .imgcss
    {
       border: 1px solid !important;
       border-radius: 10px !important;
    }
</style>

Thanks,
Shinu.
Tags
Captcha
Asked by
Joel
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or