页面搭建
代码展示:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>wcx's homework5</title>
<style type="text/css">
*{
padding: 0px;
margin: 0px;
}
#first_banner{
width: 1520px;
position: relative;
left: 5px;
background-color: #DCDCDC;
}
#second_banner{
position: fixed;
left: 5px;
width: 1520px;
height:63px;
background-color: #000000;
}
#three_banner{
position: relative;
top: 65px;
left: 5px;
width: 1520px;
background-color: #DCDCDC;
height: 15px;
}
#four_banner{
position: relative;
width: 1520px;
top: 70px;
left: 5px;
background-color: whitesmoke;
}
#five_banner{
position: relative;
top: 70px;
left: 5px;
width: 1520px;
height: 500px;
background: white;
}
#six_banner{
position: relative;
top: 70px;
left: 5px;
height: 100px;
text-align: center;
width: 1520px;
background-color: #DCDCDC;
}
ul
{
color: white;
}
.banner{
list-style: none;
float: left;
font-family: "微软雅黑";
text-align: left;
margin: 20px 90px;
}
#first_table,#second_table,#four_table,#five_table,#six_table{
position: relative;
width: 1000px;
margin: auto;
}
#four1_table{
width: 280px;
text-align: center;
background-color: #DCDCDC;
box-shadow: 2px 4px 6px 2px #DCDCDC;
}
#five_table{
height: 350px;
box-shadow: 2px 4px 6px #000;
}
#right_table{
position: relative;
left: 200px
}
#left_table{
position: relative;
top: 13px;
height: 300px;
}
#china{
float: right;
margin-right: 0px;
}
#person{
color: black;
}
.distance{
position: relative;
left: 20px;
}
.distance_td{
position: relative;
left: 40px;
}
#code,#button_code{
width: 73px;
}
#registered{
width: 157px;
height: 30px;
color: white;
background-color: red;
}
#routing,#birthday,#posting,#ElectronicOrder{
width: 50px;
height: 50px;
}
#routing{
background: url(img/11.png) no-repeat;
}
#birthday{
background: url(img/10.png) no-repeat;
}
#posting{
background: url(img/12.png) no-repeat;
}
#ElectronicOrder
{
background: url(img/9.png);
}
#services{
position: relative;
font-family: "微软雅黑";
font-size: 13px;
font-weight: bold;
color: #DCDCDC;
top: -10px;
left: 12px;
}
#last_distance{
position: relative;
top: 10px;
}
</style>
</head>
<body>
<div id="first_banner">
<table id="first_table">
<tr>
<td id="china">
中国大陆 Mainland China
</td>
</tr>
</table>
</div>
<!--
作者:1505889682@qq.com
时间:2019-02-23
描述:banner
-->
<div id="second_banner">
<table id="second_table">
<tr>
<td>
<ul id="kaozuo">
<li class="banner">首页</li>
<li class="banner">在线下单</li>
<li class="banner">查询服务</li>
</ul>
</td>
</tr>
</table>
</div>
<!--
作者:1505889682@qq.com
时间:2019-02-24
描述:第三行
-->
<div id="three_banner">
<table id="three_table">
<tr>
<td></td>
</tr>
</table>
</div>
<!--
作者:1505889682@qq.com
时间:2019-02-24
描述:
-->
<div id="four_banner">
<table id="four_table">
<tr>
<td id="person">
<table id="four1_table">
<tr>
<td id="user_zhuce">个人用户注册</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!--
作者:1505889682@qq.com
时间:2019-02-24
描述:中间
-->
<div id="five_banner">
<table id="five_table">
<tr>
<td>
<table id="left_table">
<tr>
<td class="distance">
*用户名
</td>
<td class="distance_td">
<input type="text" />
</td>
</tr>
<tr>
<td class="distance">
*手机号
</td>
<td class="distance_td">
<input type="text" />
</td>
</tr>
<tr>
<td class="distance">
*验证手机
</td>
<td class="distance_td">
<input type="text" id="code" value="输入验证码"/>
<input type="button" id="button_code" value="获取验证码"/>
</td>
</tr>
<tr>
<td class="distance">
*密码
</td>
<td class="distance_td">
<input type="text" />
</td>
</tr>
<tr>
<td class="distance">
*确认密码
</td>
<td class="distance_td">
<input type="text" />
</td>
</tr>
<tr>
<td rowspan="4"></td>
<td class="distance_td">
<input type="checkbox" />我同意 <服务协议>
</td>
</tr>
<tr>
<td class="distance_td">
<input type="button" id="registered" value="注册"/>
</td>
</tr>
<tr>
<td class="distance_td">
拥有账号
<a href="">直接登录</a>
</td>
</tr>
</table>
</td>
<td>
<table id="right_table">
<tr>
<td id="services" colspan="2">
注册为环球会员,你会享受更多的服务
</td>
<td></td>
</tr>
<tr>
<td id="ElectronicOrder"></td>
<td>
积分奖励,电子运单专项特权
</td>
<tr>
<td id="posting"></td>
<td>
收寄件积分奖励、积分托运
</td>
</tr>
<tr>
<td id="birthday"></td>
<td>生日特权、会员专项特色惠购</td>
</tr>
<tr>
<td id="routing"></td>
<td>快件路由订阅、快件信息管理、批量下载</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!--
作者:1505889682@qq.com
时间:2019-02-24
描述:
-->
<div id="six_banner">
<table id="six_table">
<tr>
<td id="last_distance">
@ 2015环球速运 版权所有 粤ICP备08034243号
</td>
</tr>
</table>
</div>
</body>
</html>
效果图展示: