Take a look at my file upload form below:
<form action="upload.php" method="post" enctype="multipart/form-data">
<input type="file" name="filetoupload" id="filetoupload" onchange="this.form.submit();">
</form>
I am trying to figure out how to style the 'choose file' button in CSS. Is there a way to change its color, size, position, and font?
I attempted using input[type=submit] {}
, but it doesn't seem to be effective.
Another question I have is how can I customize the text on the button from 'choose file' to read 'Upload' instead?