注册页研究成功
时间:2006-07-06 来源:yanjing5462
<!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" />
<title>注册测试</title>
<style>
/* 注册页面 */
.red {color:#FF0000}
.focus {border:1px solid #00A8FF;padding:3px;color:#000000;background:url('images/icon1.gif') no-repeat top left #E2F5FF;padding-left:20px}
.blur {border:1px solid #FFFFFF;padding:3px;color:#949494;background:url('images/icon0.gif') no-repeat top left #FFFFFF;padding-left:20px}
.fall {border:1px solid #FF6600;padding:3px;color:#000000;background:url('images/icon2.gif') no-repeat top left #FFF2E9;padding-left:20px}
.true {border:1px solid #00BE00;padding:3px;color:#000000;background:url('images/icon3.gif') no-repeat top left #E6FFE6;padding-left:20px}
/* 注册页面 */
</style>
</head> <body>
<div style="display:none">
<img src="images/icon0.gif" />
<img src="images/icon1.gif" />
<img src="images/icon2.gif" />
<img src="images/icon3.gif" />
</div>
<div class="regform">
<form name="form" id="form" method="POST" action="Reg.php" onSubmit="return fCheck()">
<div class="field" style="
<label for="UserName">用户名(<span class="red">*</span>) </label>
<div class="desc"><div id="info1" class="blur"></div></div>
<input id="UserName" name="UserName" tabindex="1" class="text" type="text" size="30" value="" onfocus="setfocus('info1')" onBlur="setblur('info1');check_user('info1')" />
</div>
<div class="line"></div>
<div class="field" style="<input tabindex="13" type="submit" value=" 提交注册信息 " tabindex="10" class="button"></div>
</form>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>注册测试</title>
<style>
/* 注册页面 */
.red {color:#FF0000}
.focus {border:1px solid #00A8FF;padding:3px;color:#000000;background:url('images/icon1.gif') no-repeat top left #E2F5FF;padding-left:20px}
.blur {border:1px solid #FFFFFF;padding:3px;color:#949494;background:url('images/icon0.gif') no-repeat top left #FFFFFF;padding-left:20px}
.fall {border:1px solid #FF6600;padding:3px;color:#000000;background:url('images/icon2.gif') no-repeat top left #FFF2E9;padding-left:20px}
.true {border:1px solid #00BE00;padding:3px;color:#000000;background:url('images/icon3.gif') no-repeat top left #E6FFE6;padding-left:20px}
/* 注册页面 */
</style>
</head> <body>
<div style="display:none">
<img src="images/icon0.gif" />
<img src="images/icon1.gif" />
<img src="images/icon2.gif" />
<img src="images/icon3.gif" />
</div>
<div class="regform">
<form name="form" id="form" method="POST" action="Reg.php" onSubmit="return fCheck()">
<div class="field" style="
<label for="UserName">用户名(<span class="red">*</span>) </label>
<div class="desc"><div id="info1" class="blur"></div></div>
<input id="UserName" name="UserName" tabindex="1" class="text" type="text" size="30" value="" onfocus="setfocus('info1')" onBlur="setblur('info1');check_user('info1')" />
</div>
<div class="line"></div>
<div class="field" style="<input tabindex="13" type="submit" value=" 提交注册信息 " tabindex="10" class="button"></div>
</form>
</div>
</body>
</html>
|
相关阅读 更多 +










