Home › Forums › CSS › Remove Input File Message › Reply To: Remove Input File Message
September 23, 2014 at 9:11 pm #184413
button elements cannot have
type=file. The only allowed values are
button (and “button” doesn’t really mean anything).
Styling form inputs is really tricky. In some cases (the
file input included), there simply isn’t any reliable, cross-browser way to make significant changes to default styling.
In addition, consider that people expect form inputs to look a certain way in their browser, and changing that look can cause confusion and hurt your UX.