Equal Height Text field and Button


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

taken from StackOverflow


Copy this code and paste it in your HTML
  1. input[type="submit"]::-moz-focus-inner {
  2. border: 0;
  3. }
  4.  
  5. input[type="submit"], input[type="text"] {
  6. line-height:normal !important;
  7. }
  8. html:
  9.  
  10. <form method="post" id="search" action="">
  11. <p><input type="text" name="input-1"><input type="submit" value="Submit"></p>
  12. </form>

URL: http://stackoverflow.com/questions/4483279/make-form-button-text-field-same-height-in-all-browsers

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.