Posted By

vagrantradio on 08/10/10


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Fix Mozilla button & submit element padding

 / 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.

  1. input[type="submit"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner {
  2. padding:0;border:0 none;-moz-box-sizing:content-box;
  3. }

Report this snippet  

You need to login to post a comment.