title: Styling the input type="file". How do I display the file path?
body: <p>I have been trying to style an input type="file" field.
  My button is styled but I can't seem to figure out how to get the filepath/file to show when the user selects the file to upload.
  Can anyone out there help?</p>
  
  <pre><code>&lt;form action="" method="POST" enctype="multipart/form-data"&gt;
      &lt;div class="fileupload-buttonbar"&gt;
          &lt;label class="file-upload"&gt;&lt;span&gt;Upload....&lt;/span&gt;&lt;input name="uploadfile" type="file"&gt; &lt;/label&gt;    
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>The CSS...</p>
  
  <pre><code>.file-upload {
      overflow: hidden;
      display: inline-block;
      position: relative;    
      vertical-align: middle;
      text-align: center;
      color: #fff;
      border: 2px solid #707070;
      background: #A0A0A0;
      -moz-border-radius: 8px;
      -webkit-border-radius: 8px;
      border-radius: 8px;
      text-shadow: #000 1px 1px 4px;
      cursor:pointer;
  }
  .file-upload:hover {
      background: #2FA2FF;
  }
  .file-upload.focus {
      outline: 2px solid yellow;
  }
  .file-upload input {
      position: absolute;
      top: 0;
      left: 0;
      margin: 0;
      font-size: 12px;
      opacity: 0;
      filter: alpha(opacity=0);
      z-index:-1;
  }
  .file-upload span {
      position: absolute;
      top: 0;
      left: 0;
      display: inline-block;
      padding-top: .45em;
  }
  .file-upload { height: 38px; }
  .file-upload,
  .file-upload span { width: 160px; }    
  .file-upload-status {
      margin-left: 10px;
      vertical-align: middle;
      padding: 7px 11px;
      font-weight: bold;    
      font-size: 16px;
      color: #888;
      background: #f8f8f8;
      border: 3px solid #ddd;
  }
  </code></pre>
  
  <p>​</p>
  
  <p>My code is here
  <a href="http://jsfiddle.net/hjNEC/" rel="nofollow noreferrer">http://jsfiddle.net/hjNEC/</a></p>