forked from ps249eph7/Nginx
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
148 lines
4.1 KiB
148 lines
4.1 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>注册页面</title>
|
|
<!-- 引入格式文件-->
|
|
<link rel="stylesheet" href="html&css.css">
|
|
</head>
|
|
<body>
|
|
<style>
|
|
*{
|
|
margin: 0px;/*所有的外边距为0*/
|
|
padding: 0px;/*所有的内边距为0*/
|
|
box-sizing: border-box;/*规定两个并排的带边框的框*/
|
|
}
|
|
table{
|
|
text-align: center;
|
|
}
|
|
body{
|
|
background: url("image/register_bg.png")no-repeat center;
|
|
padding-top: 25px;
|
|
}
|
|
.rg_layout{
|
|
width: 900px;
|
|
height: 500px;
|
|
border: 8px solid #EEEEEE;/*solid 定义实线*/
|
|
background-color: white;
|
|
margin: auto;
|
|
}
|
|
.rg_left{
|
|
float: none;
|
|
text-align: center;
|
|
margin: 15px;
|
|
}
|
|
.rg_left>p:first-child{
|
|
color: #FFD026;
|
|
font-size: 20px;
|
|
}
|
|
.rg_left>p:last-child{
|
|
color: #A6A6A6;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.rg_center{
|
|
float: left;
|
|
}
|
|
|
|
.rg_right{
|
|
float: none;
|
|
margin: 250px;
|
|
padding-left: 10px;
|
|
white-space:nowrap;
|
|
}
|
|
.rg_right p{
|
|
font-size: 15px;
|
|
}
|
|
.rg_right p a{
|
|
color: coral;
|
|
}
|
|
.td_left{
|
|
padding-left: 250px;
|
|
width: 100px;
|
|
text-align: center;
|
|
height: 45px;
|
|
white-space:nowrap;
|
|
}
|
|
.td_right{
|
|
padding-left: 40px;
|
|
text-align: center;
|
|
white-space:nowrap;
|
|
}
|
|
.bt_center{
|
|
padding-left: 310px;
|
|
}
|
|
#username,#password,#email,#name,#tel,#birthday,#checkcode{
|
|
width: 251px;
|
|
height: 32px;
|
|
border: 1px solid #A6A6A6;
|
|
/*设置边框圆角*/
|
|
border-radius: 5px;
|
|
padding-left: 10px;
|
|
}
|
|
#checkcode{
|
|
width: 110px;
|
|
}
|
|
#img_check{
|
|
height: 32px;
|
|
vertical-align: middle;/*设置图片的位置垂直居中*/
|
|
}
|
|
#btn_sub{
|
|
width: 100px;
|
|
height: 40px;
|
|
background-color: #FFD026;
|
|
border: 1px solid #FFD026;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
</style>
|
|
<div class="rg_layout">
|
|
<div class="rg_left">
|
|
<p>新用户注册</p>
|
|
<p>USER REGISTER</p>
|
|
</div>
|
|
<div class="rg_center">
|
|
<div class="rg_form">
|
|
<form action="#" method="post">
|
|
<table>
|
|
<tr><!--label 标签的作用是当点击文字也会跳到文本输出框-->
|
|
<!--for属性与ID属性对应规定 label 绑定到哪个表单元素。-->
|
|
<td class="td_left"><label for="username">用户名</label> </td>
|
|
<td class="td_right"><input type="text" name="username" id="username"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="td_left"><label for="password">姓名</label> </td>
|
|
<td class="td_right"><input type="password" name="password" id="password"> </td>
|
|
</tr>
|
|
<tr><!--label 标签的作用是当点击文字也会跳到文本输出框-->
|
|
<td class="td_left"><label for="email">身份证号</label> </td>
|
|
<td class="td_right"><input type="email" name="email" id="email"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="td_left"><label for="name">密码</label> </td>
|
|
<td class="td_right"><input type="text" name="name" id="name"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="td_left"><label for="tel">再次输入密码</label> </td>
|
|
<td class="td_right"><input type="text" name="tel" id="tel"> </td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td colspan="2" align="center" class="bt_center">
|
|
<input type="submit" value="注册" id="btn_sub">
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="rg_right">
|
|
<p><a href="LoginUI.html">返回登录界面</a></p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|