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 ...
随机推荐
- 1.初入GitHub
进入github官网,点击右上角注册按钮. 填写账号名,邮箱和密码 选择免费的公开仓库,点击完成就提示注册成功了. ps:付费一般是给企业用户使用的,用来存放一些不公开的代码.所以是付费的 ...
- node中使用es6/7/8 --- 支持性与性能
前言 这几年react.vue的快速发展,越来越多的前端开始讲es6的代码运用在项目中,因为我们可以通过babel进行转译为低版本的js以便于运行在所有浏览器中,import.export.let.箭 ...
- [STM32F429-DISCO-HAL]4.Uart 的使用
今天来学习一下最常用的外设之一USART. 首先是硬件的连接,我们需要至少三根线,GND,TX,RX.参阅datasheet.默认的USART1_TX和USART1_RX的引脚如下图 关于HAL dr ...
- ThinkSNS+ 基于 Laravel master 分支,从 1 到 0,再到 0.1
什么是 ThinkSNS+ 09 年,由北京的团队开发了 ThinkSNS 涉足社交开源行业.这么多年累计不少客户.2014-2016,两年都在维护和开发之前基于 TP 的 ThinkSNS , 慢慢 ...
- 时序分解算法:STL
1. 详解 STL (Seasonal-Trend decomposition procedure based on Loess) [1] 为时序分解中一种常见的算法,将某时刻的数据\(Y_v\)分解 ...
- GO 语言简介(网摘)
GO 语言简介 原文出处:[陈皓 coolshell] Hello World 文件名 HELLO.GO package main //声明本文件的package名 import "fmt& ...
- ExoPlayer Talk 01 缓存策略分析与优化
操作系统:Windows8.1 显卡:Nivida GTX965M 开发工具:Android studio 2.3.3 | ExoPlayer r2.5.1 使用 ExoPlayer已经有一段时间了, ...
- 学习笔记TF049:TensorFlow 模型存储加载、队列线程、加载数据、自定义操作
生成检查点文件(chekpoint file),扩展名.ckpt,tf.train.Saver对象调用Saver.save()生成.包含权重和其他程序定义变量,不包含图结构.另一程序使用,需要重新创建 ...
- Linux学习总结(九)—— CentOS常用软件安装:中文输入法、Chrome
中文输入法 切换到root用户,运行以下命令: yum install "@Chinese Support" 按照提示,一路Yes等待安装完成.安装完成后点击左上角System - ...
- Intel VT-X
VT-x是intel运用Virtualization虚拟化技术中的一个指令集,是CPU的硬件虚拟化技术,VT可以同时提升虚拟化效率和虚拟机的安全性,在x86平台上的VT技术,一般称之为VT-x,而在I ...