Mohammad Nadeem Mohammad Nadeem - 1 year ago 944
CSS Question

Applying css on FileUpload Control's Browse Button only

I have a FileUpload Control like this

<asp:FileUpload ID="fileuploader" runat="server" />

Now I want to apply css only on the Browse button part

alt text

How can I do this?

Answer Source

Styling an input tag with type="file" requires a bit of work, browsers don't behave similarly when you try to style them unfortunately.

There are a few methods of doing so though:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download