What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Is it possible to add an alternate button image for a hover state?

    Asked by australianturfclub on August 27, 2015 at 09:49 PM

    I tried using CSS to create a red submit button however in IE8, the background colour was not displaying correctly. The best workaround I found was to use a button image instead. However it does not allow me to add an alternate image for when the user hovers over the button. Is it possible to add this functionality?

    Page URL:
    http://www.jotform.com//?formID=52311977389971

    button image hover state state a
  • Profile Image
    JotForm Support

    Answered by Chriistian on August 28, 2015 at 03:48 AM

    Hi, 

     

    Can you try to inject this custom CSS code in your form? Change the higlighted in red to the correct image URL you want to display upon hover.

    #input_21:hover img {

        content: url("http://www.domain.com/image.jpg");

    }

     

    To inject custom CSS code in your form, you can follow the instruction provided in this article: How to Inject Custom CSS Codes.

     

    Do let us know if you need further assistance.


    Regards.