yevlakhov
5/8/2015 - 1:57 PM

Custom input file http://jsbin.com/woveyuz

Custom input file http://jsbin.com/woveyuz

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <style>
    div {
      overflow:hidden;
      width:95px;
      height:37px;
      cursor:pointer;
      background:url(http://absolvo.ru/tmp/17/input-file.gif) no-repeat;
    }
    input {
      opacity:0;
      filter:alpha(opacity:0);
      font-size:199px;
      cursor:pointer;
      padding:0px;
      margin:0px;
      border:none;
      margin-left:-450px;
    }
  </style>
</head>
<body>
<div title="click me">
<input type="file" size="1" />
</div>


</body>
</html>