background colour when using image for submit button

  • Profile Image
    Asked on January 06, 2012 at 08:19 AM
  • Profile Image
    Answered on January 06, 2012 at 11:08 AM

    Well, it appears that you have solved the original problem of the orange background that showed up around the perimeter of the button:

    For the benefit of others who encounter the same problem, here's the CSS you injected:

    .form-pagebreak-next {
        -moz-border-radius:4px 4px;
        -webkit-border-radius:4px 4px;
        border-radius:4px 4px;
        -moz-box-shadow:0 1px 0 rgba(255, 255, 255, 0.75);
        -webkit-box-shadow:0 1px 0 rgba(255, 255, 255, 0.75);
        box-shadow:0 1px 0 rgba(255, 255, 255, 0.75);
        padding:6px 18px;
        background: none;
        filter: none; /* ie */

    .form-pagebreak-next:hover {
        background: transparent;
        filter: none; !important
        border-color: transparent;

    /* mousedown */
    .form-pagebreak-next:active {
        background: none;
        border-color: transparent;

    (Unless it's some sort of hack, there's an error in the second declaration of the second rule where the semicolon is incorrectly positioned. Nevertheless, the code did its job.)

    Incidentally, upon testing the form at BrowserStack, I discovered that in IE6 a gray border appears around the button (as shown below) but thankfully, every month the number of folks who use that browser dwindles. So, it might not be that big of a deal.

    It might be a PNG transparency issue. If it's important that that border not be displayed, I'll see if I can come up with a solution that doesn't require embedding the form's full source into a web page.