I am building a html form that needs file upload. While I got the file upload part working, I am unable to get the styling of form upload button and " No file selected" text.
My desired markup is
Is there a way to do it?
PS: Please ignore the green text ( "Upload a screen shot"). I have that working.
Current behavior the button and the "no file chosen" is in the same line.
HTML Code:
<div class="formField">
<label for="fileToUpload">Upload a screen shot (optional) </label>
<input type="file" name="fileToUpload" id="fileToUpload"/>
</div>