IE7 Text-Indent Button fix

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

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

Copy this code and paste it in your HTML
  1. button {
  2. display:block;
  3. text-indent:-9999px;
  4. overflow:hidden; <--
  5. line-height:0px; <--
  6. font-size:0px; <--
  7. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.