Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. <form action="gogogo.php" method="post" enctype="multipart/form-data">
  2. <label class="filebutton">
  3. Upload
  4. <span><input type="file" id="myfile" name="myfile" onchange="this.form.submit();"></span>
  5. </label>
  6.  
  7. label.filebutton {
  8. width:300px;
  9. height: 100px;
  10. overflow:hidden;
  11. position:relative;
  12. background-color:#FF9933;
  13. }
  14.  
  15. label span input {
  16. z-index: 999;
  17. line-height: 0;
  18. font-size: 50px;
  19. position: absolute;
  20. top: -2px;
  21. left: -700px;
  22. opacity: 0;
  23. filter: alpha(opacity = 0);
  24. -ms-filter: "alpha(opacity=0)";
  25. cursor: pointer;
  26. _cursor: hand;
  27. margin: 0;
  28. padding:0;
  29. width: 50px;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement