博客列表 >3.20表单

3.20表单

谦谦允水的博客
谦谦允水的博客原创
2018年03月20日 16:31:58728浏览

实例

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>320</title>
</head>
<style>
	*{font-family: 微软雅黑;outline: none;}
	.mtk,.mtk2{width:100%;height: 100%;background: #000;position:fixed;z-index: 9999;opacity: 0.9;display:block;}
	.clear{clear: both}
	#tck,#tck2{width:685px;height: 560px;border: 2px solid #fff;margin: 0 auto;margin-top: 50px;}
	.cols,.cols2{font-size:30px ;color: #19d1a1;float: right;margin-right: 20px;margin-top: 15px;cursor: pointer;}
	#tck,#tck2>h1,h3{color: #19d1a1;/*text-align: center; */}
	.cen{text-align: center; }
	#tck,#tck2>h1{font-size: 38px}
	#tck,#tck2>h3{font-size: 24px}
	.bd{width: 500px;height: 370px;margin: 0 auto;margin-top: -20px;}
	.tab{font-size: 18px;color:#19d1a1 }
	.tab input,.slect,.year,.yue,.ri,#wbk{border: 2px solid #959595;border-radius: 10px;height: 32px;font-size: 14px;color: #a3a3a3}
	.xb{border: 2px solid #959595;border-radius: 10px;height: 32px;width: 120px;background: #fff;font-size: 14px;color: #a3a3a3}
	.year,.yue,.ri{width: 145px;}
	.hq{width: 	100px;background: #19d1a1;color: #fff !important;border:2px solid #19d1a1 !important;margin-left: 20px}
	.sjh{width: 215px;}
	.yzm{width: 100px;margin-left: 40px;}
	.tj{width: 100%;background: #19d1a1;color: #fff!important;border:2px solid #19d1a1 !important;cursor: pointer;}
	#wbk{width: 100%;height: 90px;}
	.xm1{width: 130px}
	.zxly{cursor: pointer;}
</style>

<body>
		<div class="mtk">
			<div id="tck">
				<!-- <p class="cols">×</p> -->
				<h1 class="cen">预约试听</h1>
				<h3 class="cen">-Reservation-</h3>
				<form action="" class="bd">
					<table width="500px" height="370px" class="tab" >
					    <tr>
					        <td  colspan="2">小朋友姓名</td>
					        <td>性别</td>					        
					    </tr>
					    <tr>
					        <td colspan="2"><input type="text"></td>
					        <td>
					        	<select class="xb" >
										<option>男</option>
										<option>女</option>
								</select>
							</td>
					    </tr>
					    <tr>
					        <td>出生日期-年</td>
					        <td>出生日期-月</td>
					        <td>出生日期-日</td>
					    </tr>
					    <tr>
					        <td>
					        	<select class="year" >
										<option>2018年</option>
										<option>2017年</option>
								</select></td>
					        <td>
					        	<select class="yue" >
										<option>1月</option>
										<option>2月</option>
								</select></td>
					        <td>					        	
					        	<select class="ri" >
										<option>1日</option>
										<option>2日</option>
								</select></td>
					    </tr>	
					    <tr>
					        <td>省份</td>
					        <td>城市</td>
					    </tr>
					    <tr>
					        <td>					        	
					        	<select class="ri" >
										<option>请选择</option>
										<option>重庆</option>
								</select></td></td>
					        <td>					        	
					        	<select class="ri" >
										<option>暂无可选</option>
										<option>2日</option>
								</select></td></td>
					    </tr>
					    <tr>
					        <td colspan="2" >手机号</td>
					        <td>验证码</td>
					    </tr>
					    <tr>
					        <td><input class="sjh" type="text"></td>
					        <td><input  class="yzm" type="text"></td>
					        <td><input type="button" class="hq" value="获取"></td>
					    </tr>	
					    <tr>
					        <td colspan="3"><input class="tj" type="button" value="确认提交"></td>

					    </tr>

					</table>
				</form>
			</div>
		</div>	
</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例


声明:本文内容转载自脚本之家,由网友自发贡献,版权归原作者所有,如您发现涉嫌抄袭侵权,请联系admin@php.cn 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议