IE7 negative text-indent fix


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

Make IE7 respect a negative text indent (for hiding text via CSS).


Copy this code and paste it in your HTML
  1. .ie7 #sidebar .widget_search input[type="submit"] {
  2. display: block;
  3. text-indent: -9999px
  4. font-size: 0;
  5. line-height: 0;
  6. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.