Simon Willison’s Weblog

Subscribe
Atom feed for fileinput

1 item tagged “fileinput”

2007

Styling File Inputs with CSS and the DOM. Clever hack to style the un-stylable: set the opacity of the file input to 0, then use a bit of JavaScript to make sure the (now invisible) browse button is always under the mouse.

# 10th September 2007, 11:58 pm / css, fileinput, opacity, shauninman