Would like rounded corners for image.

2 posts, 1 answers
  1. Joel
    Joel avatar
    1 posts
    Member since:
    Apr 2012

    Posted 01 Jun 2012 Link to this post

    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.

  2. Answer
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 06 Jun 2012 Link to this post

    Hello Joel,

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

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

Back to Top