custom image background for submit input button

/ Published in: CSS
Save to your folder(s)

display: block; needed for IE7 to enable the negative text-indent.

Copy this code and paste it in your HTML
  1. #mc_signup_form .button {
  2. background: url(images/button.png) no-repeat 0px 0px;
  3. border: none;
  4. height:32px;
  5. text-indent:-9999px;
  6. text-transform:uppercase;
  7. width:162px;
  8. cursor:pointer;
  9. display:block;
  10. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.