Posted By

lancemonotone on 01/23/11


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

stavros
rozky


Equal Height Text field and Button


 / Published in: CSS
 

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

taken from StackOverflow

  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>

Report this snippet  

You need to login to post a comment.