I've been looking all over Google for an easy, clea开发者_如何学编程n 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?
Sorry, this is completely browser-dependant.
Take a look at the question How to rename HTML browse button, the same reasons apply.
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.
No, you didn't miss anything. Its not possible doing this only with CSS.
精彩评论