• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applying CSS to input type="file"

 
Karan Jain
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would like to apply CSS to the browse button of file input type.
It is to make it consistent with other buttons on my page. I would like to apply the following style to the browse button only:

font-family:arial,helvetica,sans-serif;
font-size: 75%;
font-weight: bold;
text-align: center;
letter-spacing:1px;
color:red
background-color: #990033;
color: #FFFFFF;

Any help is appreciated.

Thanks in advance...
Karan
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64620
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, not possible.
 
Karan Jain
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I got a workaround to the problem and it works for me

http://codingforums.com/archive/index.php?t-6315.html

Thanks,
Karan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic