Home › Forums › CSS › Make Input File In Center › Reply To: Make Input File In Center
January 7, 2015 at 4:41 am
#192479
Participant
Try this:
input[type=file] {
margin: 0 auto;
}
However, be aware that file input fields look very different in various browsers and OS’s, and are impossible to style (you’ll need some workarounds like a jQuery plugin).