in

dotNetFreak

Ramblings & Controls from a .NET Addicted Freak!

How to remove the image border?

Last post 07-26-2010 4:54 PM by Vindberg. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 07-26-2010 3:16 PM

    How to remove the image border?

    I know its an easy question, but having tried different settings on the control I haven't been able to remove the outline/border of the captcha image.

    Thanks for any guidance.
    Anders V.

  • 07-26-2010 3:21 PM In reply to

    Re: How to remove the image border?

    On the subject of rendered content, is there a way to avoid the table tr td tags surrounding the image?

    Cheers!

  • 07-26-2010 3:39 PM In reply to

    Re: How to remove the image border?

    One final question:

    The different Noise styles doesn't seem to have any effect on the noise. E.G. adding this doesn't change the background noise:

     

                                       NoiseFillStyle="Hatch"
                                       NoiseHatchStyle="Wave"
     

    Am I doing something wrong? My complete formshield looks like this:

                                 <dnf:FormShield ID="FormShield1" runat="server" HttpHandlerPath="/FormShield.aspx" PersistenceMethod="ControlState"
                                        CharacterType="Alpha"
                                        TextLength="4"
                                        Width="268"
                                        Height="221"
                                        NoiseColor="#A8A8A8"
                                        NoiseColor2="#A8A8A8"
                                        BackColor="White"
                                        BackColor2="White"
                                        BorderWidth="0"
                                        TextColor2="Black"
                                        TextColor="Black"
                                        TextCase="upper"
                                       TextFont="Arial"
                                       TextEffect="None"
                                       NoiseFillStyle="Hatch"
                                       NoiseHatchStyle="Wave"
                                      
                                 >

    Thanks.

  • 07-26-2010 4:54 PM In reply to

    Re: How to remove the image border?

     Thanks to Kevin (the author of FormShield), I simply needed to add ImageBorderStyle=None, that last option I hadn't tried!!! :p. Removing the table markup isn't possible so I have styled it to disappearance.

Page 1 of 1 (4 items)
Copyright ©2004-2007 Kevin Gearing. All Rights Reserved.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems