• 0

Using CSS to change file input tag


Question

Hi Guys and Gals,

Is there a way to change the browse button on the file input tage using CSS in a form.

I tried it and all it changed was the file string and not the browse button attached.

Kind regards

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hmm.... I don't believe so, cause different browsers handle file inputs differently. I know Safari on the mac just shows a button, no text field... :/

Link to comment
Share on other sites

  • 0
Hmm.... I don't believe so, cause different browsers handle file inputs differently. I know Safari on the mac just shows a button, no text field... :/

Oh Well ! :(

Thanks anyway Timdorr.

Link to comment
Share on other sites

  • 0

yeah i think that's right too. the combination of text box and browse button are generated by one tag. and as per the specification, the browser is supposed to decide what to show.

as for using CSS i think you could change the colors or the fontsize but not the actual text.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.