• Hello,
    My “submit” button is grey, but I want to change it to red when I hover over it. For some reason the code below makes the button stay red regardless of where I am on the page (even if I don’t click on it). How do I correct it?

    /* this is to keep it grey and it is working */
    button, input[type=”button”]{background-color: #E9E9E9 !important;
    }

    /* this is to change to red but it fails */
    :hover button, input[type=”button”]
    {background-color: red !important;
    }

    Thank you!

    The page I need help with: [log in to see the link]

  • The topic ‘Change color on buttons when hover over them’ is closed to new replies.