<!DOCTYPE html>
 <html>
     <head>
         <meta charset="UTF-8">
         <title>博雅互动</title>
         <link rel="stylesheet" type="text/css" href="css/boya.css" />
     </head>
     <body>
         <div class="head">
                 <div class="head_logo_conten">
                     <ul>
                         <li class="head_logo_logo"></li>
                         <li><a href="#">首页</a></li>
                         <li><a href="#">博雅互动</a></li>
                         <li><a href="#">博雅互动</a></li>
                         <li><a href="#">博雅互动</a></li>
                         <li><a href="#">博雅互动</a></li>
                         <li><a href="#">博雅互动</a></li>
                         <li class="head_logo_right"></li>
                     </ul>
                 </div>
         </div>
         <div class="head_banner">

         </div>
         <div class="conten">
             <div class="conten_top">
                 <div class="conten_top_img">
                     <ul>
                         <li><img src="data:image/bpt1.jpg" /></li>
                         <li>博雅互动</li>
                         <li><a href="#">点我互动</a></li>
                     </ul>
                 </div>
                 <div class="conten_top_img">
                     <ul>
                         <li><img src="data:image/bpt2.jpg" /></li>
                         <li>博雅互动</li>
                         <li><a href="#">点我互动</a></li>
                     </ul>
                 </div>
                 <div class="conten_top_img">
                     <ul>
                         <li><img src="data:image/bpt1.jpg" /></li>
                         <li>博雅互动</li>
                         <li><a href="#">点我互动</a></li>
                     </ul>
                 </div>
                 <div class="conten_top_img">
                     <ul>
                         <li><img src="data:image/bpt2.jpg" /></li>
                         <li>博雅互动</li>
                         <li><a href="#">点我互动</a></li>
                     </ul>
                 </div>
             </div>
             <hr />
             <div class="conten_footer">
                 <div class="conten_footer_left">
                     <ul>
                         <li></li>
                         <li></li>
                         <li></li>
                         <li><p>博雅互动博雅互动博雅互动博雅互动博雅互动<span>11-23&nbsp;</span></p></li>
                         <li><p>博雅互动博雅互动博雅互动博雅互动博雅互动<span>11-23&nbsp;</span></p></li>
                         <li><p>博雅互动博雅互动博雅互动博雅互动博雅互动<span>11-23&nbsp;</span></p></li>
                     </ul>
                 </div>
                 <div class="conten_footer_right">
                     <ul>
                         <li class="title"><a href="">招聘岗位</a></li>
                         <li><a href="">PHP 专场招聘</a></li>
                         <li><a href="">PHP 专场招聘</a></li>
                         <li><a href="">PHP 专场招聘</a></li>
                         <li><a href="">PHP 专场招聘</a></li>
                     </ul>
                 </div>
             </div>
         </div>
     <div class="top_head">
         <a href="#top"><img src="data:image/jiantou.png"/></a>
     </div>
     </body>
 </html>

css:

         /*初始化状态*/
         body,li,ul,div{
             margin: 0px;
             padding: 0px;
             list-style: none;
         }
         body{
             background: url(../image/indexmainbg.jpg) no-repeat center bottom;
             padding-top: 58px;
         }
         /*头部盒子  头部logo部分*/
         .head{
             text-align: center;
             width: 100%;
             height: 58px;
             background-color:#191d3a;
             position: fixed;
             top: 0px;
             left: 0px;
         }
         .head_logo_conten{
             width: 1000px;
             height: 58px;
             margin: 0px auto;
         }
         .head_logo_conten .head_logo_logo{
             width:184px ;
             background: url(../image/logo.png) no-repeat center center;
         }
         .head_logo_conten .head_logo_right{
             width:184px ;
             background: url(../image/jrwm.png) no-repeat center center;
         }
         .head_logo_conten li{
             width: 100px;
             height: 58px;
             line-height: 58px;
             float: left;
         }
         a{
             text-decoration: none;
         }
         a:link,a:visited{
             color: gray;
         }
         a:hover{
             color: white;
             font-weight: bold;
         }

         /*banner部分*/
         .head_banner{
             margin: 0 auto;
             background: url(../image/banner.jpg) no-repeat center center;
             width:100%;
             height: 465px;
         }

         /*conten内容部分*/
         .conten{
             margin: 0 auto;
             width: 1100px;
             height: 650px;
         }
         .conten_top{
             width: 1100px;
             height: 320px;
             text-align: center;
         }
         hr{
             font-weight: bold;
             width: 1000px;
         }
         .conten_top_img{
             width: 220px;
             height: 260px;
             margin:50px 0 0 40px;
             float: left;
         }
         .conten_top_img li{
             margin-bottom: 10px;
         }
         .conten_top_img li a{
             color: green;
             font-size: 12px;
             padding-right: 10px;
             background: url(../image/xjt.png) no-repeat right center;
         }

         /*底部部分*/
         .conten_footer{
             width: 1100px;
             height: 310px;
         }
         .conten_footer_left,.conten_footer_right{
             width: 500px;
             height: 310px;
             margin-left: 30px;
             float: left;
         }
         .conten_footer_left{
             background: url(../image/bynewsbg.jpg) no-repeat center;
         }
         .conten_footer_left li{
             margin-left: 20px;
             height: 45px;
             list-style: 45px;
         }
         .conten_footer_left li p{
             height: 28px;
             border-bottom: 1px dashed gray;
         }
         .conten_footer_left li span{
             float: right;
         }
         .conten_footer_right{
             background: url(../image/zczp.jpg) no-repeat center;
         }
         .conten_footer_right li{
             margin-left:20px;
             margin-top: 20px;
             font-weight: bold;
             width: 350px;
             height: 40px;
             line-height: 40px;
             padding-left:10px ;
         }
         .title{
             background: url(../image/jrwm.png) no-repeat right center;
         }
         .conten_footer_right .title a{
             font-size: 18px;
             font-weight: bold;
             color:black;
             padding-left: 50px;
         }
         /*返回顶部   定位*/
         .top_head{
             width:19px ;
             height: 19px;
             border: 1px solid gainsboro;
             border-radius:19px;
             position: fixed;
             right: 50px;
             bottom: 50px;
         }
     

效果图50%窗口:

每天点滴的进行,css+div简单布局...布局的更多相关文章

  1. HTML CSS + DIV实现整体布局

    HTML CSS + DIV实现整体布局 1.技术目标: 开发符合W3C标准的Web页面 理解盒子模型 实现DIV+CSS整体布局 2.什么是W3C标准? W3C:World Wide Web Con ...

  2. HTML CSS + DIV实现局部布局

    HTML CSS + DIV实现局部布局 HTML CSS + DIV实现局部布局 1.本章教大家掌握2种布局方式: 1)顶部导航菜单布局,效果图: 2)购物版块布局,效果图: 2.技术目标: 使用d ...

  3. 【转载】CSS + DIV 实现局部布局

    HTML CSS + DIV实现局部布局 1.本章教大家掌握2种布局方式: 1)顶部导航菜单布局,效果图: 2)购物版块布局,效果图: 2.技术目标:使用div + ul-li实现导航菜单布局    ...

  4. 【转载】CSS + DIV 实现整理布局

    HTML CSS + DIV实现整体布局 1.技术目标: 开发符合W3C标准的Web页面 理解盒子模型 实现DIV+CSS整体布局 2.什么是W3C标准? W3C:World Wide Web Con ...

  5. HTML CSS + DIV实现整体布局 part1

    HTML CSS + DIV实现整体布局 1.技术目标: 开发符合W3C标准的Web页面 理解盒子模型 实现DIV+CSS整体布局 2.什么是W3C标准? W3C:World Wide Web Con ...

  6. CSS+DIV网页样式布局实战从入门到精通 中文pdf扫描版

    CSS+DIV网页样式布局实战从入门到精通通过精选案例引导读者深入学习,系统地介绍了利用CSS和DIV进行网页样式布局的相关知识和操作方法. 全书共21章.第1-5章主要介绍网页样式布局的基础知识,包 ...

  7. HTML CSS + DIV实现排版布局

    HTML CSS + DIV实现排版布局 1.网页可以看成是由一个一个"盒子"组成,如图: 由上图可以看出,页面分为上(网站导航).中.下(版权声明)三个部分,中间部分又分为左(商 ...

  8. HTML CSS + DIV实现整体布局 part2

    9.盒模型的层次关系 我们通过一个经典的盒模型3D立体结构图来理解,如图:     从上往下看,层次关系如下: 第1层:盒子的边框(border),     第2层:元素的内容(content).内边 ...

  9. css+html简单的布局demo

    于html介绍css作风.可以改变html块状布局,局更加美观.接下来看一个基础布局的小样例: <html> <head> <meta http-equiv=" ...

随机推荐

  1. Effective Java:Ch4_Class:Item14_在public类中应该使用访问方法而不是public域

    你可能偶尔需要编写退化类,目的只是为了集中实例域: // Degenerate classes like this should not be public! class Point { public ...

  2. Win32_Battery class

    wmi的Win32_Battery类实现 其中EstimatedChargeRemaining属性返回剩余电量的百分比,EstimatedRunTime属性返回剩余时间(分钟) 其他属性参考http: ...

  3. 总结C++中取成员函数地址的几种方法

    这里, 我整理了4种C++中取成员函数地址的方法, 第1,2,4种整理于网上的方法, 第3种cdecl_cast是我自己想到的. 其中, 第4种(汇编)的方法不能在VC6上编译通过. 推荐使用第1,2 ...

  4. WCF引用方式

    WCF之各种WCF引用方式 写在开头:本文内容来自 WCF全面解析中的一个经典例子,如果你已经看过了,那么可以忽略本文,本文旨在和大家分享不一样的WCF使用方法. 准备工作: 1.创建解决方案WCFS ...

  5. 一步步学习Python-django开发-Mac下搭建Python-Django环境

    首先确定学习那一个版本,以之前对Python的接触,Python2.x 的版本仍然占据很大的市场.但作为初学者我还是决定学习新的版本,相信未来会逐渐转向3.x版本的. 其实搭建Python不是一件很难 ...

  6. .net Mongo Driver 1.0与2.0的对比与2.0的优化

    前言 最近闲的时间有点多,所以还是写博客吧. 有人说Mongo 2.0的写法难以把控,好多地方不知道咋用,所以坚持用1.0(不愿意去尝试2.0),我感觉不可理解.所以写篇博客比较下. Mongo C# ...

  7. html5后台界面

    Binary Admin Save Binary Admin is 100% free for personal & commercial use under MIT license. Liv ...

  8. Python3 操作Excel--openpyxl

    操作Excel文件建议使用openpyxl 兼容office2016 打开excel文件,获取工作表 import openpyxl wb=openpyxl.load_workbook('ttt.xl ...

  9. 最简单的MFC

    #include <SDKDDKVer.h> #include <afxwin.h> #include <afxext.h> #include <iostre ...

  10. Zabbix 中文使用手册

    一.Zabbix简介 详情参考"企业监控利器-zabbix"http://waringid.blog.51cto.com/65148/904201. 二.Zabbix使用 2.1 ...