/ Published in: CSS

Firefox has a padding issue with button and submit elements, this fixes it. Also, don\'t use line-height on buttons, use padding instead.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
input[type="submit"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner { padding:0;border:0 none;-moz-box-sizing:content-box; }
Comments
