File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Image on file upload browse button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Image on file upload browse button" Watch "Image on file upload browse button" New topic
Author

Image on file upload browse button

echarish Kumar
Ranch Hand

Joined: Feb 02, 2010
Posts: 42
Hello

I am developing a application where i have to give a file upload function, but i want to give this file upload function when a user click on the image of file but there is no way to give an image location, it gives a default browse button. is there a way so that i can mask the default browse butoon with an image.



[Thumbnail for upload.GIF]

Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Running the search http://www.google.com/search?q=styling+file+input
Returns the first result http://www.quirksmode.org/dom/inputfile.html
Which gives css to use an image in place of a button.
echarish Kumar
Ranch Hand

Joined: Feb 02, 2010
Posts: 42
Thanks it helped
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Image on file upload browse button