PHP初入,简易网页整理(布局&特效的使用)
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>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨工作状态</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨服务指南</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨专题专栏</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨在线答询</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨法律法规</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨考试信息</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨党建园地</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨政策信息</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 丨政府公开</a>
</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" /> 毕业生档案查询</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公务员招考</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 事业单位招聘</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 参保缴费查询</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 社保卡查询</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 成绩查询</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" /> 公告:2017淄博市公安</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告:2017淄博市消防</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告:2017淄博市防震</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告:2017淄博市交通</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告:2017淄博市城管</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告:2017淄博市安全</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告:2017淄博市政务</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告:2017淄博市汽车</a>
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告: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" /> 领导班子</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 机构职责</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 直属单位</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 区县机构</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" /> 市人社局党委组织集体学习</a><br />
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 弘扬优良家风,加强廉政建设</a><br />
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 市人社局党委书记上专题党课</a><br />
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 市人社局组织党员到原山革命根据地进行参观学习</a><br />
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 市人社局召开"两学一做"专项学习大会</a><br />
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 市人社局党委理论学习中心组织召开学习大会</a><br />
<a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 市人社局两学一做正在进行中</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" /> 公告:2017年8月17日我市公安局全体干警出动,只为一举缉拿日本省</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告:2017淄博市消防部队全部出动,对四川地震区域进行抗震救灾活动</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告:2017淄博市防震部署委发布消息称:山东处于内陆地区版块,</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告:2017淄博市交通局发布第107号令,其中详细要求我市机动车不得..</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告:2017淄博市城管大队出动,一举歼灭日本省武装反抗力量,对全世界</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告:2017淄博市安全</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告:2017淄博市政务</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告:2017淄博市汽车</a></li>
<li><a href="http://www.weibo.com/?c=spr_sinamkt_buy_hyww_weibo_t112" target="_blank" /> 公告: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>
PHP初入,简易网页整理(布局&特效的使用)的更多相关文章
- 初学HTML5、初入前端
学习HTML5是一个漫长的过程,当中会遇到很多技术与心态上的变化.刚开始学习,我们不能发力过猛,需要一个相对稳定的状态去面对.多关注一些自己感兴趣的网站和技术知识,建立自己的信心与好奇心,为以后的学习 ...
- 初入职场的建议--摘自GameRes
又开始一年一度的校招了,最近跑了几个学校演讲,发现很多话用短短的一堂职业规划课讲还远远不够,因为那堂课仅仅可能帮大家多思考怎样找到一份合适的工作,并没有提醒大家怎样在工作中发展自己的职业. 见过这么多 ...
- 【Xbox one S】开箱&开机&初入坑心得
再来一发水贴,先上产品标准照镇贴: 前言 身为一个资深单机游戏玩家,常年混迹在PC平台,但内心深处一直对主机有种迷之向往,感觉那才是单机游戏的正处之地,坐沙发上拿着手柄对着电视跌宕起伏才是正确的游戏姿 ...
- 初入pygame——贪吃蛇
一.问题利用pygame进行游戏的编写,做一些简单的游戏比如贪吃蛇,连连看等,后期做完会把代码托管. 二.解决 1.环境配置 python提供一个pygame的库来进行游戏的编写.首先是安装pygam ...
- 初入码田--ASP.NET MVC4 Web应用之创建一个空白的MVC应用程序
初入码田--ASP.NET MVC4 Web应用开发之一 实现简单的登录 初入码田--ASP.NET MVC4 Web应用开发之二 实现简单的增删改查 2016-07-29 在此之前,需要一台电脑( ...
- CSS+DIV网页样式布局实战从入门到精通 中文pdf扫描版
CSS+DIV网页样式布局实战从入门到精通通过精选案例引导读者深入学习,系统地介绍了利用CSS和DIV进行网页样式布局的相关知识和操作方法. 全书共21章.第1-5章主要介绍网页样式布局的基础知识,包 ...
- Scala初入
何为Scala物 Scala为基于JVM虚拟机中的面向对象与函数式编程思想并且完全兼容Java的混合编程语言,可以是Scala与Java是同根同源的,既然Scala与JAVA都是基于JVM之上的编程语 ...
- 0x00linux32位汇编初入--前期准备
0x00汇编初入--前期准备 一.汇编工具 在linux平台下常用的编译器为as,连接器为ld,使用的文本编辑器为vim,汇编语法为att 以下是一些工具: addr2line 把地址转换为文件名和行 ...
- 原生js写的贪吃蛇网页版游戏特效
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <bo ...
随机推荐
- Hibernate 中Criteria Query查询详解【转】
当查询数据时,人们往往需要设置查询条件.在SQL或HQL语句中,查询条件常常放在where子句中.此外,Hibernate还支持Criteria查询(Criteria Query),这种查询方式把查询 ...
- suffix tree
文章出处:http://www.cnblogs.com/snowberg/archive/2011/10/21/2468588.html 3 What is a Suffix Tree Suf ...
- trie从入门到入殓
trie是什么?1. 字典树 2.集合 (其实两个都对啊喂) 一颗普通的trie树一般类似于这样(图片来源于http://dongxicheng.org/structure/trietree/): 绿 ...
- [入门向选讲] 插头DP:从零概念到入门 (例题:HDU1693 COGS1283 BZOJ2310 BZOJ2331)
转载请注明原文地址:http://www.cnblogs.com/LadyLex/p/7326874.html 最近搞了一下插头DP的基础知识……这真的是一种很锻炼人的题型…… 每一道题的状态都不一样 ...
- BOM部分笔记整理
BOM部分整理 (章节 8.9) 概览: 一.介绍BOM 在web中,JS的核心对象就是BOM. 1.1 在浏览器中,window对象 == global 所以,你在全局环境下定义的变量,函数都会自动 ...
- RabbitMQ 使用(一)
RabbitMQ中的使用 这篇文章将会介绍关于RabbbitMQ的使用,并且使用的是kombo(客户端的Python实现)来实现: 安装 如果使用的是mac安装的话,可以先安装到指定的位置,接着配置命 ...
- nopCommerce安装教程
nopCommerce是一个通用的电子商务平台,适合每个商家的需要:它强大的企业和小型企业网站遍布世界各地的公司销售实体和数字商品.nopCommerce是一个透明且结构良好的解决方案,它结合了开源和 ...
- php创建多级目录完整封装类操作
创建多级目录函数中调用创建指定下的指定文件的函数: public function create_dir($dir,$mode=0777) { return is_dir($dir) or ($thi ...
- class类的初始化
class类的初始化 C++中引入了构造器这个概念(constructor)的概念,这是在创建一个对象时被自动调用的特殊方法. Java也引入了构造器 构造器的主要的作用就是确保每个对象都会得到初 ...
- 【Spring】JDBC事务管理XML配置
将spring事务管理与spirng-mybatis分离开了: <?xml version="1.0" encoding="UTF-8"?> < ...