Hide text on submit buttons


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



Copy this code and paste it in your HTML
  1. /* Good browsers */
  2. input {
  3. background-image: url("../../images/");
  4. background-position: 0 0;
  5. background-repeat: no-repeat;
  6. border: none;
  7. cursor: pointer;
  8. height: 26px;
  9. padding: 0;
  10. text-indent: -999em;
  11. width: 26px; }
  12.  
  13.  
  14. /* IE Fix */
  15. input {
  16. color: transparent;
  17. text-transform: capitalize; }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.