<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> <!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> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <link rel="stylesheet" href="css/css.css" type="text/css"> <title>无标题文档</title> </head> <script language="javascript" type="text/javascript"> function check(){ var a=word.W_user.value; var b=word.W_content.value; if(a=="") { alert("姓名不能为空"); return false; } if(b=="") { alert("内容不能为空"); return false; } return true; } </script> <style type="text/css"> table{ margin:10px auto; width:800px; font:Arial, Helvetica, sans-serif; font-size:14px;} </style> <body><table> <form method="post" action="liuyan_do.asp" name="word"> <tr> <td style="width:20%;" align="center">姓名:</td> <td style="width:80%;"><input name="W_user" type="text" class="word" /> *姓名必填</td> </tr> <tr> <td style="width:20%; ; text-align:center;">联系电话:</td> <td style="width:80%;"><input name="tel" type="text" class="word" id="tel" /></td> </tr> <tr> <td style="width:20%; ; text-align:center;">邮 箱:</td> <td style="width:80%;"><input name="email" type="text" class="word" id="email" /></td> </tr> <tr> <td style="width:20%; height:160px; text-align:center;">留言内容:</td> <td style="width:80%; height:160px"><textarea name="W_content" class="text"></textarea></td> </tr> <tr> <td></td><td><input type="submit" name="send" class="sumbit" value="确定提交" /> <input type="reset" class="sumbit" value="重新填写" /></d> </tr> </form></table> </body> </html>