Home › Forums › CSS › Most Sensible Way to Make Button and Form Height Match? › Re: Most Sensible Way to Make Button and Form Height Match?
May 16, 2013 at 12:22 am
#135251
Merri
Participant
Form field rendering is darn inconsistent. Firefox makes the button 2px too high, Chrome instead makes it a few pixels smaller in both width and height.
Anyway, this should give somewhat consistent results: http://codepen.io/Merri/pen/uHzls
It looks identical in Firefox, Chrome, IE10 and Opera 12, but it uses one magic number hack thanks to Chrome.