表单提交的HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link href="注册表单.css" rel="contents" style="" /> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>注册表单</title> <style type="text/css"> #fieldset{color:#CCCCCC; font-size:12pz; } #fieldset input{ border:solid 1px #339900; width:6em; } #fieldset dt{ font-size:16px; color:#333; } #fieldset dd{ line-height:2em; /*float:right;*/ } #fieldset #submit{ text-indent:999px; border:0; width:53px; height:19px; background-image:none; } #fieldset #reset{ text-indent:999px; border:0; width:53px; height:19px; background-image:none; } </style> </head> <body> <form action="" method="post" id="fieldset"> <dl> <dt>注册表单</dt> <dd>用户名 <input id="name" name="name" /> <input id="submit" type="submit" value="提交" name="submit" /> </dd> <dd>密码 <input id="password" name="password" /> <input id="reset" type="reset" value="取消" name="reset" /> </dd> </dl> </dl> </form> </body> </html>
你没有做到,你保证你确实用心了吗?