Changing style attributes of HTML file upload control

  • Thread starter Thread starter Ray Costanzo [MVP]
  • Start date Start date
R

Ray Costanzo [MVP]

The input type="file" is very protected by browsers, to the point of a bit
too much paranoia sometimes. The answer depends on what brownser you're
using. In IE 6 though, this works:

<input type="file" style="font-family: verdana, sans-serif; font-size:
16pt;" />

Ray at work
 
Using the HTML file upload control gives you input textbox and a command
button. How do you change appearance and caption of button? Setting style
attributes doesn't appear to work completely.

Is there a javascript function that will open a file browser window? This
way I could fully customize appearance.

Thanks,
Charlie
 
Back
Top