登录框:
<!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 type="text/css" rel="stylesheet" href="css/index.css"/>
<title>用户登录</title>
</head>
<body>
<table width="400px" height="250px" align="center" border="1px">
<tr><td>
<div class="one" align="center">
<b>用户登录</b>
<form action="" method="post">
<table align="center">
<tr>
<td>用户名</td>
<td><input type="text" name="username" size="20"/></td>
</tr>
<tr>
<td>密 码</td>
<td><input type="password" name="userpwd" size="20" /></td>
</tr>
<tr>
<td align="left"><input class="two" type="submit" name="submit" value="登 录"/></td>
<td align="right"><input class="three" type="reset" name="reset" value="重新输入"/></td>
</tr>
</table>
</form>
</div>
</td></tr></table>
</body>
</html>
CSS文件:
.one{
font-family:"楷体_gb2312";
font-size:10px;
color:#FF0000;
}
b{
font-family:"方正细圆繁体";
font-weight:bold;
font-size:24px;
}
.two{
font-family:"楷体_gb2312";
font-size:10px;
color:#FF0000;
}
.three{
font-family:"楷体_gb2312";
font-size:10px;
color:#FF0000;
}