07_07表单Demo3

<!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=utf-8" />
	<title>无标题文档</title>
</head>
	<style type="text/css">
* {
	margin: 0;
	padding: 0;
}
img {
	border: none;
}
table {
	border-collapse: collapse;
}
body {
	background: #ffffff;
}
form {
	width: 522px;
	height: 575px;
	margin: 50px auto;
}
form table th {
	width: 140px;
	text-align: right;
	font-family: 宋体;
	font-size: 13px;
	font-weight: normal;
	vertical-align: top;
}
form table td {
	width: 382px;
	text-align: left;
	font-family: 宋体;
	font-size: 11px;
	color: #8a8a8a;
	font-weight: normal;
	vertical-align: top;
}
form table th.row1 {
	height: 91px;
	padding-top: 9px;
	height: 82px;
}
form table th.row2 {
	height: 73px;
	padding-top: 9px;
	height: 64px;
}
form table th.row3 {
	height: 73px;
	padding-top: 9px;
	height: 64px;
}
form table th.row4 {
	height: 73px;
	padding-top: 9px;
	height: 64px;
}
form table th.row5 {
	height: 73px;
	padding-top: 9px;
	height: 64px;
}
form table th.row6 {
	height: 87px;
	padding-top: 9px;
	height: 78px;
}
form table th.row7 {
	height: 42px;
}
form table th.row8 {
	height: 63px;
}
form table th span {
	font-size: 8px;
	color: #ee0000;
}
form table input {
	width: 260px;
	height: 31px;
	border: 1px solid #868686;
}
form table select {
	width: 262px;
	height: 33px;
	border: 1px solid #868686;
}
form table td span.explain {
	display: inline-block;
	padding-top: 7px;
}
form table td span.explainadd {
	font-size: 13px;
	text-decoration: underline;
	display: inline-block;
	padding-top: 9px;
}
form table td input.yanzheng {
	width: 133px;
	height: 31px;
	vertical-align: top;
}
form table td img.yangzheng {
	vertical-align: top;
}
form table td input.inputcheck {
	width: 12px;
	height: 12px;
}
form table td img.regmiddle {
	padding-top: 13px;
}
</style>

<body>
	<form action="">
		<table>
			<tbody>
				<tr>
					<th class="row1">
						<span>*</span>
						常用邮件地址:
					</th>
					<td>
						<input type="text">
						<br />
						<span class="explain">支持你的常用邮箱,如name@example.com</span>
						<br />
						<span class="explainadd">
							<a href="#">还没邮箱?立即注册网易邮箱</a>
						</span>
					</td>
				</tr>
				<tr>
					<th class="row2">
						<span>*</span>
						设置密码:
					</th>
					<td>
						<input type="password">
						<br />
						<span class="explain">6到16个字符,区分大小写。</span>
					</td>
				</tr>
				<tr>
					<th class="row3">
						<span>*</span>
						确认密码:
					</th>
					<td>
						<input type="password">
						<br />
						<span class="explain">再次输入你设置的密码。</span>
					</td>
				</tr>
				<tr>
					<th class="row4">
						<span>*</span>
						密码保护问题:
					</th>
					<td>
						<select name="" id="">
							<option value=""></option>
							<option value=""></option>
							<option value=""></option>
						</select>
						<br />
						<span class="explain">密码保护问题用于帮助你找回登陆密码。</span>
					</td>
				</tr>
				<tr>
					<th class="row5">
						<span>*</span>
						你的答案:
					</th>
					<td>
						<input type="text">
						<br />
						<span class="explain">4到30个字符,区分大小写,一个汉字占两个字符。</span>
					</td>
				</tr>
				<tr>
					<th class="row6">
						<span>*</span>
						验证码:
					</th>
					<td>
						<input type="text" class="yanzheng">
						<img src="img/yanzheng.png" alt=""  class="yanzheng"/>
						<br />
						<span class="explain">
							不区分大小写。看不清楚可以
							<a href="#">换一个</a>
						</span>
					</td>
				</tr>
				<tr>
					<th class="row7"></th>
					<td>
						<input type="checkbox"  class="inputcheck"/>
						我同意
						<a href="#">"服务条款"</a>
						和
						<a href="#">"隐私保护和个人信息利用政策"</a>
					</td>
				</tr>
				<tr>
					<th class="row8"></th>
					<td>
						<img src="img/reg.png" alt="" class="regmiddle"></td>
				</tr>
			</tbody>
		</table>
	</form>
</body>
</html>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值