Does anyone know how to hide the input in a input type="file" and leave the button?
Is this possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Historically, the file input has been a thorn in the side of HTML styling. There are some workarounds for it, however. Take a look at a jQuery plugin which obscures the input with some custom elements. Styling and customizing those elements is much easier.
This is a good article on the subject as well.