I've never done much css so I apologize if this is an obvious question but I've tried a million things and nothing's worked. I currently have an image that I'm trying to use as an upload button. The problem right now is that it's not marked as a file input so there are no files selected when I call my uploadFile() function which causes, obviously, a whole bunch of problems. A lot of the fixes I've found still end up with the default "upload" button that comes with the browser.
Edit: I've seen this post - Replace input type=file by an image - and maybe I'm stupid but I can't seem to get it to be on the top right side of the screen where I want it, and whenever I use that fix I end up with a big white bar at the top of the screen. Again I'm not great with css so I'm probably missing an easy fix.
Edit2: I basically want to do exactly what this guy did but with the button on the right side of the page. https://stackoverflow.com/a/40235746/9830411
Here's the html:
<img id="uploadButton1" class="upperButton" src="./imgs/uploadImage.png" onclick="uploadFile();" onmouseover="toggleChangeLandType();" onmouseout="toggleChangeLandType();">
And the CSS:
#uploadButton1{
right: 3vw;
}