Page 1 of 1

File upload, browse button

Posted: Sun Apr 13, 2003 6:31 pm
by sweahe
For file uploads, is it possible to change the ordinary browse button to be an image?

Code: Select all

<input name="userfile" type="file">

Posted: Mon Apr 14, 2003 5:34 pm
by m3mn0n
it can be done with javascript.

check out the source @ this site.

Posted: Tue Apr 15, 2003 12:10 pm
by sweahe
Where? Couldn't find an upload <input... on that page, can you specify where I find it?

Posted: Tue Apr 15, 2003 12:37 pm
by volka
afaik the button of an <input type="file">-element is immune to styling in common browsers