Take the external div for this input file, applying the stream and width to it, then apply some css to the input file, for example: font-size, margin-left in negative.
<div class="outerWrap"> <input type="file" id="fileUpload"/> </div>
and css will be:
.outerWrap { width: 200px; height: 50px; overflow: hidden; } #fileUpload { width: 210px; height: 50px; margin-left: -10px; font-size: 70px; }
adjust the width and margin on the left to suit your requirements.
for reference I got this link: http://jsfiddle.net/TrdJ8/ and try it on IE-9
source share