IE7 button value

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

IE7 can be a pain when it comes to input submit buttons. In order to get the value to disappear using the text-indent: -999em; trick make sure to set text-transform: capitalize;

Copy this code and paste it in your HTML
  1. #input-button { text-indent: -999em; }
  3. .ie7 #input-button { text-transform: capitalize; }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.