ideasvacuum Posted October 10, 2018 Share Posted October 10, 2018 Re https://www.w3schools.com/php/php_file_upload.asp This works well but the buttons: Ugly Not the same size or value across Browsers How can I replace the standard button with a w3-button? <input type="file" name="fileToUpload" id="fileToUpload"> Link to comment Share on other sites More sharing options...
dsonesuk Posted October 10, 2018 Share Posted October 10, 2018 You have make it invisible and place an element over the top of it, that you can style using w3css. https://tympanus.net/codrops/2015/09/15/styling-customizing-file-inputs-smart-way/ Link to comment Share on other sites More sharing options...
ideasvacuum Posted October 11, 2018 Author Share Posted October 11, 2018 Thanks again dsonesuk - that code works really well and Osvaldas explains the process really well too. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now