PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Form input box size

  1. gummby
    Member

    Is there anyway to control the size of the input text box for the file upload field? I have tried just about all different sorts of css and can't get the size to go past 20.

    Here is the form
    http://www.sundialfilmfestival.com/wp/?page_id=337

    Thanks
    chris

    Posted 14 years ago on Thursday September 2, 2010 | Permalink
  2. CSS applied to the file upload field isn't supported by all browsers. So there is no sure fire way to style it because of browser limitations. For instance, in Safari on the Mac there is plenty of space in that field to display a long filename... see the screenshot below.

    http://grab.by/6cQA

    Posted 14 years ago on Thursday September 2, 2010 | Permalink
  3. http://www.quirksmode.org/dom/inputfile.html

    Posted 14 years ago on Thursday September 2, 2010 | Permalink
  4. gummby
    Member

    Totally makes since. Thanks guys for the quick response. I may code my own javascript/ajax to strip the file path and just show the filename.

    Chris

    Posted 14 years ago on Thursday September 2, 2010 | Permalink