I Need to remove white lines/border at the top and bottom of my submit button.

  • Profile Image
    jamirtarin
    Asked on April 18, 2013 at 10:53 PM

    I searched your forums and found several similar issues, but their solution of going to the 'button styles' and choosing 'none' is not fixing the problem.

    Also, injecting the following code does not fix the problem either:

    .form-submit-button-simple_black, .form-submit-button {

    -moz-border-radius:0px !important;

    -webkit-border-radius:0px !important;

    border-radius:0px !important;

    }

    Thanks for your help.

    I'm attaching the URL- The form is at the bottom of the page.

    I'm also attaching a screen shot.

  • Profile Image
    jalaludeen
    Answered on April 19, 2013 at 01:34 AM

    Hi Jamirtarin,


    For your Issue in Button, your Button Image are not in correct. In that button image use outer area transprent other that button area. So it will fit according to you background and will not show white line both in top and bottom

    Let us know if you need further assistance.

    Thanks,

    Jalaludeen

     

  • Profile Image
    EltonCris
    Answered on April 19, 2013 at 01:55 AM

    @jamirtarin

    This code should removed it.

    .form-submit-button {
    box-shadow:  none !important;
    -moz-box-shadow:  none !important;
    }

    Just inject that CSS code to your form. How to Inject Custom CSS Codes to your Form

    Thanks!

  • Profile Image
    jamirtarin
    Answered on April 19, 2013 at 11:17 PM

    FANTASTIC, THANK YOU GUYS.

    I implemented both solutions- Cleaned up my button graphic and injected the code.

    Actually, I injected both lines of code:

    .form-submit-button-simple_black, .form-submit-button {
    -moz-border-radius:0px !important; -webkit-border-radius:0px !important;
    border-radius:0px !important;
    }

    .form-submit-button {
    box-shadow:  none !important;
    -moz-box-shadow:  none !important;
    }

    It displays correctly in FireFox but not in IE8.

    In IE8 still shows one while line/border at the bottom of the button.

    THANKS AGAIN- and if you guys know why it does not dysplay correctly in IE let me know.

    You guys are great.

  • Profile Image
    EltonCris
    Answered on April 20, 2013 at 07:12 AM

    Hi,

    Glad to hear it works for you.

    To fix the white issue on IE, add this property under .form-submit-button class.

    filter:none !important;

    So it will become like this:

    .form-submit-button {

    box-shadow: none !important;

    -moz-box-shadow: none !important;

    filter:none !important;

    }

    Hope this helps. Thank you!

  • Profile Image
    jamirtarin
    Answered on April 21, 2013 at 02:22 PM

    Wonderful, This line of code solved the problem in IE.

    Thanks much Elton.

     

     

  • Profile Image
    sidharth_kch
    Answered on April 21, 2013 at 02:46 PM

    @jamirtarin

    On behalf of my colleague Elton, You are welcome.

    Should you have any questions please feel free to contact me.

    Thanks.