Mohammad Nadeem Mohammad Nadeem - 7 months ago 573
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?


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: