Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Feb 2008
    Thanked 0 Times in 0 Posts

    Styled input file button no longer shows chosen file

    I'm using an Upload Script, and I've been working on trying to style the 'Choose File Button' (input file button)
    which was a challenge to be styled for multiple browsers, but finally works with Google, IE and FF.

    However, now that I've successfully styled the input file button, when a file is now chosen, the chosen file name no longer appears, prior to Submit.

    I've attached an image of the code changes I made, plus some CSS styling, and this addition:

    label input[type="file"] {
        position: relative;
        top: -1000px;
    Any suggestions/ideas/remedy on how to get the chosen file to show (or something to show an action has taken place) will be appreciated


  2. #2
    Senior Coder
    Join Date
    Feb 2011
    Your Monitor
    Thanked 559 Times in 546 Posts
    This is not a php problem!
    I can't really think of anything to write here now...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts