rodbv
rodbv

Reputation: 5264

Is it possible to change the style of the "Browse" button in the file upload html control?

I've been looking all over Google for an easy, clean way to change the style of the Browse button of the HTML <input type=file> control, but all solutions I've found so far involve hidden controls, absolute positioning of images, jQuery plugins etc. Is there a way to accomplish this using CSS2 that I've missed?

Upvotes: 0

Views: 4912

Answers (3)

Danny T.
Danny T.

Reputation: 1140

Sorry, this is completely browser-dependant.

Take a look at the question How to rename HTML browse button, the same reasons apply.

Upvotes: 4

Sarfraz
Sarfraz

Reputation: 382806

I have not seen this getting done in pure css (if anyone knows let me know). Well here is something that you might find interesting:

http://www.dreamincode.net/forums/showtopic15621.htm

Mostly used CSS, little bit of javascript too.

Upvotes: 2

Manu
Manu

Reputation: 29153

No, you didn't miss anything. Its not possible doing this only with CSS.

Upvotes: 1

Related Questions