Connecting Tech Pros Worldwide Help | Site Map

Style File Input

 
LinkBack Thread Tools Search this Thread
  #1  
Old August 28th, 2008, 01:55 AM
shapper
Guest
 
Posts: n/a
Default Style File Input

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

  #2  
Old August 28th, 2008, 07:45 AM
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a
Default Re: Style File Input

shapper wrote:
Quote:
Does anyone knows how to style and input of type file with JQuery?
No.
Quote:
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.
Quote:
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
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
  #3  
Old August 28th, 2008, 08:15 AM
Gregor Kofler
Guest
 
Posts: n/a
Default Re: Style File Input

shapper meinte:
Quote:
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.
Quote:
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


--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.