By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,575 Members | 1,402 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,575 IT Pros & Developers. It's quick & easy.

Styling the FILE INPUT

P: n/a
Hello hello! Has anyone ever used JavaScript to change the text inside
the file input's "Browse..." button? Perhaps even to add some padding
inside it, or some margin around it?

Much obliged, and thanks!
Sep 3 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Save The Vinyls wrote:
Hello hello! Has anyone ever used JavaScript to change the text inside
the file input's "Browse..." button? Perhaps even to add some padding
inside it, or some margin around it?

Much obliged, and thanks!
search in google. there is some alternative methods. but you cannot
change the text (i think), because of the security considerations.
--
Xu, Qian (stanleyxu)
http://stanleyxu2005.blogspot.com
Sep 3 '08 #2

P: n/a
Save The Vinyls meinte:
Hello hello! Has anyone ever used JavaScript to change the text inside
the file input's "Browse..." button? Perhaps even to add some padding
inside it, or some margin around it?
Lets see... There is this search engine... "Google" I think. Lets try...
"style file input" - whoops! 385.000 hits. Now that ain't bad. And
already the first one describes everything in detail.

Gregor
--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Sep 3 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.