/ Published in: CSS
taken from StackOverflow
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
input[type="submit"]::-moz-focus-inner { border: 0; } input[type="submit"], input[type="text"] { line-height:normal !important; } html: <form method="post" id="search" action=""> <p><input type="text" name="input-1"><input type="submit" value="Submit"></p> </form>
URL: http://stackoverflow.com/questions/4483279/make-form-button-text-field-same-height-in-all-browsers