本帖最后由 phpchuxuecainiao 于 2010-08-30 11:06:46 编辑

解决方案 »

  1.   

    <input type="image" name="login" value=""  src="img/denglu.gif">
      

  2.   

    <form name="form1" method="post" action="" onsubmit="return Checkform();"  style=" text-align:center; ">
                  <table border="0" cellspacing="0" cellpadding="1" align="left">
        <tr>
                <th colspan="2" align="center" height="50px"><font color="#000000" face="华文宋体" size="+1">用户登录</font></th>
                  </tr>
        <tr>
                      <td height="30">
                      <div align="right" style="color:#000000; font-size:13px; height:10px;">用户名:</div></td>
                      <td align="left">
                        <input type="text" name="user_login" size="20" maxlength="16"  style="border-color:#666666;">
                      </td>
                    </tr>
                    <tr><td height="30">
                        <div align="right" style="color:#000000;font-size:13px;height:30px;">密&nbsp;码:</div></td>
                      <td align="left">
                        <input type="password" name="user_pass" size="20" maxlength="16" style="border-color:#666666;"><p>
                      </td>
                    </tr>
                     
                    <tr>
    <td colspan="2">
                        <div align="center">
                          <input type="image" name="login" value=""  src="img/denglu.gif">
                      </div></td>
                    </tr>
                </table>
      </form>  
      

  3.   

    <form name="form1" method="post" action="" onsubmit="return Checkform();"  style=" text-align:center; ">
                  <table border="0" cellspacing="0" cellpadding="1" align="left">
        <tr>
                <th colspan="2" align="center" height="50px"><font color="#000000" face="华文宋体" size="+1">用户登录</font></th>
                  </tr>
        <tr>
                      <td height="30">
                      <div align="right" style="color:#000000; font-size:13px; height:10px;">用户名:</div></td>
                      <td align="left">
                        <input type="text" name="user_login" size="20" maxlength="16"  style="border-color:#666666;">
                      </td>
                    </tr>
                    <tr><td height="30">
                        <div align="right" style="color:#000000;font-size:13px;height:30px;">密&nbsp;码:</div></td>
                      <td align="left">
                        <input type="password" name="user_pass" size="20" maxlength="16" style="border-color:#666666;"><p>
                      </td>
                    </tr>
                     
                    <tr>
    <td colspan="2">
                        <div align="center">
                          <input type="image" name="login" value=""  src="img/denglu.gif">
                      </div></td>
                    </tr>
                </table>
      </form>  
      

  4.   

    <input type="image" name="login" value="" src="img/denglu.gif">
    改成type="submit",先不要css,
    表单action="houtai.php";你的action是空的....
      

  5.   

    你要在表单FORM里面的action中写你要跳转的页面  因为image类型的INPUT就是提交类型  所以你写SRC没有用