Written by @kerixa 21 August 2012. This border is declared through CSS in the browser stylesheet, but you can override it to add your own focused style using button::-moz-focus-inner { }. Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. How Do You Make A Save Button In JS? Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. Different browsers may use different default types for the If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail: