Your question says "Internet Explorer," but for those interested in other browsers, you can now use all: unset
on buttons to unstyle them.
It doesn't work in IE, but it's well-supported everywhere else.
https://caniuse.com/css-all
Accessibility warning: For the sake of users who aren't using a mouse pointer, be sure to re-add some :focus
styling, e.g. button:focus { outline: orange auto 5px }
for keyboard accessibility. If you're feeling lazy, you can button:focus { outline: revert }
to revert the outline to the browser's default. https://caniuse.com/css-revert-value
(And, I hope this goes without saying, but be sure to add back some kind of styling so your button actually looks like a button, and preferably some :hover
styling, too. If your button doesn't have a border, consider cursor: pointer
as well.)
button {
all: unset;
}
button:focus {
outline: revert;
}
<button>check it out</button>