Jump to content

How to change to file browse buttons label


manojdubey

Recommended Posts

How could I change the color or lable of input type file in html.I tried a lot but it either makes the path text also invisible or the file uploading errors.If anybody can helpWith Regards Manoj Dubey

Link to comment
Share on other sites

you can't unfortunately. but you can create your own image and try to use absolute positioning to lay over top the browse button. Then add an onclick function to reproduce its function.

Link to comment
Share on other sites

you can't unfortunately.  but you can create your own image and try to use absolute positioning to lay over top the browse button.  Then add an onclick function to reproduce its function.

^Because of the different way browsers treat file type inputs, this is not quite recommended. If I remember well, Safari displays them very differently...
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...