Style File Input

S

shapper

Hi,

Does anyone knows how to style and input of type file with JQuery?

I want to use an image as the button or maybe a simple normal input
styled with CSS.
I also want to style the input where the path is ... I want it to have
a grey background and no border.

Any idea of how to accomplish this?

Thanks,
Miguel
 
T

Thomas 'PointedEars' Lahn

shapper said:
Does anyone knows how to style and input of type file with JQuery?
No.

I want to use an image as the button or maybe a simple normal input
styled with CSS.

Rule of thumb: What CSS cannot do, no script can do.
I also want to style the input where the path is ... I want it to have
a grey background and no border.

You can't always have what you want.

BTW: jQuery is junk, and there is no indication that this could change.


PointedEars
 
G

Gregor Kofler

shapper meinte:
Hi,

Does anyone knows how to style and input of type file with JQuery?

"Can I style file inputs?" - use Google. Has been asked frequently here
and in neighboring groups.
I want to use an image as the button or maybe a simple normal input
styled with CSS.
I also want to style the input where the path is ... I want it to have
a grey background and no border.

Any idea of how to accomplish this?

To make it short and easy: You can't. You can hide it behind a faux
input, but that's it.

Gregor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,813
Members
47,357
Latest member
sitele8746

Latest Threads

Top