0

Possible Duplicate:
What is the best way to replace the file browse button in html?
How to style “input file” with CSS3 / Javascript?

Is possible to change the style of <input type='file' /> ?

If yes , how to change? chrome shows file name which i have been chosen in file browse input.

How to Hide file name in file browse input?

1
  • This topic is already covered in rather good detail in SO. Please do a search and you'll find your answer. Commented Sep 4, 2012 at 9:40

3 Answers 3

3

Asked before:

If you had search it then it would have given you the best possible answers from StackOverflow itself. Hope it will work !

Sign up to request clarification or add additional context in comments.

Comments

2

No, it cannot be changed.

However there is a trick widely circulated around the web. The idea is to give the <input type="file"/> an opacity value of 0.1 and position it on top of an image. For all practical purposes it will be invisible and only the picture will be visible, but it will receive mouse clicks. With some Javascript then you can show the selected file name(s) elsewhere on the page.

Comments

0

You can do with few lines of javascript. Here is the sample demo http://jsfiddle.net/eyjsF/

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.