Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Styling an <input type=file>

Status
Not open for further replies.

ChrisHunt

Programmer
Jul 12, 2002
4,056
GB
The question of how to do this comes up from time to time. The problem being that <input type="file"> is generally rendered as a text box and button combination, so it's unclear where (if at all) CSS properties will be applied.

I've just come across this article showing how to do it, using Javascript, some browser-specific CSS and a lot of deviousness:


Personally, I'm not sure it's worth the trouble; but I know that some of you guys like to change the look & feel of everything...

-- Chris Hunt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top