Posted By

vagrantradio on 07/28/10


Tagged

css


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

joacoleo


IE7 Text-Indent Button fix


 / Published in: CSS
 

Add the last three lines to fix text-indent in IE7. Alternatively, you can also add text-transform:capitalize.

  1. button {
  2. display:block;
  3. text-indent:-9999px;
  4. overflow:hidden; <--
  5. line-height:0px; <--
  6. font-size:0px; <--
  7. }

Report this snippet  

You need to login to post a comment.