Here is my file input on different browsers. IE10 uses an horrible default style. Any idea about how to remove it?
IE supports a number of pseudo elements for file inputs:
::-ms-valuefor styling the part where the text is displayed::-ms-browsefor styling the button
Using these you can style both parts of the file input however you wish.
Use a reset CSS template (example: http://meyerweb.com/eric/tools/css/reset/)
And then style it yourself with your own CSS.
来源:https://stackoverflow.com/questions/17618952/how-to-remove-default-file-input-style-on-ie10