#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Location
    Bath, England
    Posts
    312
    Rep Power
    14

    CSS with file inputs


    Hi,

    When I create HTML forms, I use CSS classes to make the edit boxes and buttons fit in with my site, rather than using the crappy generic grey buttons, etc.

    The problem I have is with the <input=file> option. Any class I apply to this object just affects the edit box, not the button.

    Does anyone know how to apply a class to the browse button? I want to still be able to use a class on the edit box as well.

    Please help!
    Charkus
  2. #2
  3. No Profile Picture
    Beelzebub
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Location
    The nether regions...ok, San Diego
    Posts
    164
    Rep Power
    14
    This post is worthy of a bump. I have tried this a few times myself, and it appears to be impossible. The only effect I have made on the button is to define the border.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Location
    Bath, England
    Posts
    312
    Rep Power
    14
    Yeah, that's what I get. I can change the border as much as I want, just not the actual f%&$ing button!!
    Charkus

IMN logo majestic logo threadwatch logo seochat tools logo