我发现如果把<table>标记删除掉就没有问题了
<html>
<br><br><br>
  <!-- 删除         <table id="c_19" style="border-collapse:collapse;height:0px;width:0px;">
          <tbody id="c_19_tbody">
           <tr id="c_19_tr_0">
            <td id="c_19_td_c_20" style="padding:0px;">
   -->
              <!--上传附件按钮,通过onmousemove事件把File类型上传控件移到自己上面-->
                <input name="uploadfiles_16_selbtn" onmousemove="uploadfiles_16_form.uploadfiles_16_file.style.pixelLeft=event.x;uploadfiles_16_form.uploadfiles_16_file.style.pixelTop=this.offsetTop;" size="30" type="button" value="上传一个附件"/>
                   
                    <!--表单-->
                     <form action="/website/app?serviceId=FileUploadReceiver&uploaduid=uploadfiles_16" enctype="multipart/form-data" method="POST" name="uploadfiles_16_form" target="uploadfiles_16_frame">
                     
                     <!--File类型上传控件-->
                      <input name="uploadfiles_16_file" onchange="uploadfiles_16_text.value=this.value;" size="1" style="position:absolute;width:0px" type="file"/>
                      
                     </form>
  <!-- 删除
            </td>
           </tr>
          </tbody>
         </table>
   -->
       
</html>

解决方案 »

  1.   

    老子搞定了!<html>
    <br><br><br>
    <table> <!-- it works very well if delete the table tag-->
        <input type="button" name="selbtn"  size="30"  value="upload a attachment" 
        onmousemove="form1.file1.style.pixelLeft=event.offsetX;form1.file1.style.pixelTop=event.y-10;"/>
        <form enctype="multipart/form-data" method="POST" name="form1">
        <input type="file" name="file1" style="position:absolute;width:0px" />
        </form>
    </table>
    </html>