PHP初入,简易网页整理(布局&特效的使用)

时间:2020-12-24 23:47:23

html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
/*全局设置*/
*{
margin: 0px;
padding: 0px;
}
.all{
width: 100%;
height: 100%;
border: 0px solid black;
position: absolute;
}
.top{
width: 950px;
height: 30px;
border: 0px solid black;
margin: auto;
background-color: cadetblue;
text-align: center;
line-height: 30px;
/*相对与寞默认位置的移动*/
position: relative;
/*top: 0px;
right: 150px;*/
top: 0px;
left:2px;
}

.logo{
width: 950px;
height: 200px;
border: 0px solid black;
overflow: hidden;
margin-right: 200px;
/*position: relative;
top: 0px;*/
line-height: 200px;
text-align: center;
margin: auto;
}
.nav-top{
width: 950px;
height: 30px;
border: 0px solid black;
margin: auto;
line-height: 30px;
text-align: center;
background-color: orange;
}
.gps{
width: 950px;
height: 30px;
border: 0px solid black;
margin: auto;
/*使字体居中*/
line-height: 30px;
text-align: left;
}
.right-code{
/*锁定位置*/
position: fixed;
left: 0px;
top: 160px;
}
.left-code{
/*锁定位置*/
position: fixed;
right: 0px;
top: 160px;
}
.left-new{
position: fixed;
right: 0px;
top: 300px;
}
.right-new{
position: fixed;
left: 0px;
top: 300px;
}
a{
text-decoration: none; /*超链接去字体下划线*/
color: #000000;

}


/*正文start*/
.tt{
width: 950px;
height: 670px;
border: 0px solid black;
align-content: center;
margin: auto;
position: relative;
line-height: 28px;
}
.left-top{
width: 223px;
height: 215px;
border: 0px solid black;
/*相对与寞默认位置的移动*/
position:relative;
top: 0px;
left:0px;
/*background-color: red;*/
}
.right-top{
width: 223px;
height: 210px;
border: 0px solid black;
position: absolute;
right: 0px;
top: 32px;
/*background-color: blueviolet;*/
overflow: hidden;
}
.missdle-top{
width: 495px;
height: 340px;
margin: auto;
border: 0px solid black;
position: relative;
top: -425px;
/*background-color: powderblue;*/
}
.left-missdle{
width: 223px;
height: 210px;
border: 0px solid black;
position: relative;
top: 0px;
left: 0px;
line-height: 30px;
/* background-color: orangered;*/
}
.right-missdle{
width: 220px;
height: 310px;
border: 0px solid black;
position: absolute;
top: 245px;
right: 0px;
/*background-color: deepskyblue;*/
}
.right-bottom{
width: 223px;
height: 70px;
border: 0px solid black;
position: absolute;
top: 570px;
right: 0px;
/*background-color: palevioletred;*/
}
.left-bottom{
width: 223px;
height: 200px;
border: 0px solid black;
position: absolute;
top: 467px;
left: 0px;
/*background-color: red;*/
}
.missdle-bottom{
width: 495px;
height: 293px;
border: 0px solid black;
position: absolute;
top: 375px;
left: 227px;
}
.job{
position: absolute;
top: 0px;
left: 0px;
}
.jpg{
position: absolute;
top: 0px;
}



/*第二模块*/
.two-all{
position: relative;
width: 950px;
height: 670px;
border: 0px solid black;
align-content: center;
margin: auto;
position: relative;
line-height: 28px;
}

.zibo-logo{
position: relative;
top: 10px;
left: 0px;
}
</style>
</head>
<body bgcolor="white">
<!--全局-->
<!--<div class="all">-->
<!--最上方广告栏-->
<div class="top">
欢迎来到淄博市*中心网站。
<input type="text" />
<input type="submit" width="100px" height="10px" />
</div>

<!--logo栏-->
<div class="logo">
<img src="logo.jpg" />
</div>

<!--nav-top导航栏-->
<div class="nav-top">
<<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨首页</a>&nbsp;&nbsp;
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨工作状态</a>&nbsp;&nbsp;
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨服务指南</a>&nbsp;&nbsp;
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨专题专栏</a>&nbsp;&nbsp;
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨在线答询</a>&nbsp;&nbsp;
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨法律法规</a>&nbsp;&nbsp;
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨考试信息</a>&nbsp;&nbsp;
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨党建园地</a>&nbsp;&nbsp;
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨政策信息</a>&nbsp;&nbsp;
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨*公开</a>&nbsp;&nbsp;
</div>


<!--固定位置专用,-->
<div class="tt">
<!--位置导航栏-->
<div class="gps">您现在的位置: 淄博市人力资源和社会保障网 >> 首页</div>

<!--正文左上-->
<div class="left-top">
<div class="left-top-img"></div>
<img src="专题专栏.jpg" />
<ul style="list-style: none;">
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;毕业生档案查询</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公务员招考</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;事业单位招聘</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;参保缴费查询</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;社保卡查询</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;成绩查询</a></li>
</ul>
</div>


<!--正文右上-->
<div class="right-top">
<img src="通知公告.jpg" />
<ul style="list-style: none;">
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市*</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市消防</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市防震</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市交通</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市城管</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市安全</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市政务</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市汽车</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市油品</a>
</div>

<!--正文左中-->
<div class="left-missdle">
<img src="机构设置.jpg" />
<ul type="circle">
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;领导班子</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;机构职责</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;直属单位</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;区县机构</a></li>
</ul>
</div>

<!--正文右中-->
<div class="right-missdle">
<img src="党建园地.jpg" />

<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;市人社局党委组织集体学习</a><br />
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;弘扬优良家风,加强廉政建设</a><br />
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;市人社局党委书记上专题党课</a><br />
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;市人社局组织党员到原山革命根据地进行参观学习</a><br />
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;市人社局召开"两学一做"专项学习大会</a><br />
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;市人社局党委理论学习中心组织召开学习大会</a><br />
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;市人社局两学一做正在进行中</a><br />

</div>

<!--正文左下-->
<div class="left-bottom">
<img src="4大框.jpg" />
</div>

<!--正文右下-->
<div class="right-bottom">
<div class="jpg">
<img src="公告.jpg"/></div>
</div>

<!--正文中上-->
<div class="missdle-top">
<img src="missdle-top.jpg" />
</div>

<!--正文中下-->
<div class="missdle-bottom">
<div class="job">
<img src="工作动态.jpg" /></div><br />
<ul style="list-style: none;">
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017年8月17日我市*局全体干警出动,只为一举缉拿日本省</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市消防部队全部出动,对四川地震区域进行抗震救灾活动</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市防震部署委发布消息称:山东处于内陆地区版块,</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市交通局发布第107号令,其中详细要求我市机动车不得..</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市城管大队出动,一举歼灭日本省武装反抗力量,对全世界</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市安全</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市政务</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市汽车</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" />&nbsp;&nbsp;公告:2017淄博市油品</a></li>
</div>

</div>

<div class="two-all">
<div class="zibo-logo">
<img src="淄博logo.jpg" /></div>
</div>


<!--左侧广告栏-->
<div class="left-new">
<img src="国务院.jpg" />
</div>
<!--右侧广告栏-->
<div class="right-new">
<img src="国务院.jpg" />
</div>
<!--左侧二维码-->
<div class="left-code">
<img src="二维码.jpg" />
</div>
<!--右侧二维码-->
<div class="right-code">
<img src="二维码.jpg" />
</div>

<!-- </div>-->
</body>
</html>