Posted By

nerdfiles on 02/26/10


Tagged

css button border


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

johnloy
erikphanson


Remove Button Focus Border in Firefox and IE8 with CSS


 / Published in: CSS
 

  1. button { }
  2.  
  3. /*for FireFox*/
  4. input[type="submit"]::-moz-focus-inner,
  5. input[type="button"]::-moz-focus-inner,
  6. button::-moz-focus-inner { border : 0px; }
  7. /*for IE8 */
  8. input[type="submit"]:focus,
  9. input[type="button"]:focus { outline : none; }

Report this snippet  

You need to login to post a comment.