Posted By

flicity on 11/04/09


Tagged

css ie6


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

silentbob84


Using a background image for submit buttons in IE6


 / Published in: CSS
 

URL: http://www.productivedreams.com/ie-not-intepreting-text-indent-on-submit-buttons/

Allows custom background images for submit buttons in ie6

  1. input.button{
  2. width:114px;
  3. height:37px;
  4. border: none;
  5. background: transparent url(images/submit_btn.gif) no-repeat center;
  6. overflow: hidden;
  7. text-indent: -999px;
  8.  
  9. /* this text sorts text indent in IE6 */
  10. font-size: 0px;
  11. display:block;
  12. line-height: 0px;
  13.  
  14. }

Report this snippet  

You need to login to post a comment.