网页制作

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="css/index.css"/>
<title>记录</title>
</head>

<body>
<div id="top">
    <ul class="top_menu">
        <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>
    </ul>
    <ul class="top_bar">
        <li class="personal"><a href="cb">个人简介</a></li>
        <li class="phone"><a href="#">15566388347</a></li>
        <li class="help"><a href="#">帮助</a></li>
    </ul>
</div>

<div id="header">
    <a href="#">
    <div id="first"></div>
    <div id="second"></div>
    <div id="thrid"></div>
    </a>
</div>

<ul id="nav">
    <li><a href="#"><strong><span>童年趣事</span></strong></a></li>
    <li><a href="#"><strong><span>学校记忆</span></strong></a></li>
    <li><a href="#"><strong><span>成长经历</span></strong></a></li>
    <li><a href="#"><strong><span>人生转折点</span></strong></a></li>
    <li><a href="#"><strong><span>人生感悟</span></strong></a></li>
    <li><a href="#"><strong><span>未来计划</span></strong></a></li>
</ul>
<div id="content">
<div id="content1">
    <div id="jj"></div>
    <ul class="cb">
        <li>姓名:张永鑫</li>
        <li>性别:男</li>
        <li>身高:***cm</li>
        <li>体重:**kg</li>
        <li>学校:辽宁科技大学</li>
        <li>专业:测控技术与仪器</li>
        <li>学历:本科</li>
        <li>座右铭:不做第二个谁,<br />只做第一个我</li>
        
    </ul>
    <div id="c1">
        <div class="c01"><a href="#"><span class="c04">为点滴而奋斗</span></a></div>
        <div class="c02"><a href="#"><span class="c04">为生命而拼搏</span></a></div> 
        <div class="c03"><a href="#"><span class="c04">为美丽而存在</span></a></div>    
    </div>
    <div id="kb"></div>
    <div id="qc"></div>
    <div class="cb">
        <span>曲水流觞,沧海踏歌,唱一段一羽清尘,直到曲终人散。站在街头迎风的位置,我感到怅然若失,希望离别后的我们一切安好!</span>
    </div>
    <div id="c2">
        <div class="c07"><a href="#"><span class="c08">高考前最后一次郊游</span></a></div>
        <div class="c06"><a href="#"><span class="c08">孔子前最后一次祈祷</span></a></div> 
        <div class="c05"><a href="#"><span class="c08">如今天南海北的我们</span></a></div>  
    </div>
</div>
    
    
    
<div id="content2">
    <a href="#"><div class="lb1">
            <span class="xbt1">1</span><span class="nr2"></span><span class="nr3">未成年的我</span>
        </div></a>
        <a href="#"><div class="lb2">
            <span class="xbt2">2</span><span class="nr2"></span><span class="nr3">高中的我</span>
        </div></a>
        <a href="#"><div class="lb3">
            <span class="xbt3">3</span><span class="nr2"></span><span class="nr3">大学的我</span>
        </div></a>
        <a href="#">
        <div class="lb4">
            <span class="xbt4">4</span><span class="nr2"></span><span class="nr3">工作的我</span>
        </div></a>
</div>
</div>
<div id="foot">
    <div id="db"></div>
    <div id="er"><h2>喜欢我就加我吧</h2></div>
</div>

</body>
</html>

index.css

@charset "utf-8";
/* CSS Document */

/*  公共部分  */
body,ul,ol,h1,h2,h3,h4,dl,dd,form,input,textarea,select,li{ margin:0px; padding:0px; font-family:arial;}
li{list-style:none;}
img{border:none;}
a{text-decoration:none;}
a:hover{text-decoration:underline;}

body{
    background:#f1f4f5 url(../images/bengjing.gif) repeat-x;
    width:1000px;
    margin:0 auto;
}
/*  顶部   */
#top{ 
    height:50px;
}
.top_menu{
    float:left;
    }
.top_menu li{
    float:left;
    background:url(../images/home.gif) no-repeat left 0px;
    padding-left:20px;
    padding-right:4px;
}
.top_menu a { color:#FFF;}
.top_menu a:hover { color:#F3F;}


.top_bar{float:right;}
.top_bar li {
    float:left;
    color:#FFF;
    }
.top_bar .personal{
    background:url(../images/personal.gif) no-repeat left 0px;
    padding-left:20px;
    padding-right:4px;
    }
.top_bar .phone{
    background:url(../images/ipone.gif) no-repeat left 0px;
    padding-left:20px;
    padding-right:4px;
    }
.top_bar .help{
    background:url(../images/help.gif) no-repeat left 0px;
    padding-left:20px;
    padding-right:4px;
    }
.top_bar a{color:#FFF;}

/*  头部  */
#header{
    width:1000px;
    height:100px;
    float:left;
}
#header a { display:block;}
#first{
    width:302px;
    height:100px;
    background:url(../images/font1.gif) no-repeat left center;
    float:left;
    }
#second{
    width:396px;
    height:100px;
    background: url(../images/font2.gif) no-repeat center center;
    float:left;
    }
#thrid{
    width:302px;
    height:100px;
    background: url(../images/font3.gif) no-repeat right center;
    float:right;
    }

/*   导航   */
#nav{
    width:1000px;
    height:30px;
    border-top:3px solid #4DE;
    background: #3CF;
    margin-top:120px;
    }
#nav li{
    float:left;
    font-size:18px;
    line-height:30px;
    border-left:2px solid #00F;
    padding:0 20px 0px 63px;
    background: url(../images/nav.gif) no-repeat 2px 4px;
    }
#nav a{ color: #000;}
    
/*  主体  */
#content1{
    margin-top:20px;
    border:2px dashed #09F;
    border-bottom:none;
    float:left;
}
#jj{
    width:1000px;
    height:21px;
    background:url(../images/by/jianjie.gif) center center no-repeat;
}
    
.cb{
    width:100px;
    height:300px;
    background:#66F;
    font-size:12px;
    line-height:24px;
    color:#F90;
    font-weight:bold;
    float:left;
}
#c1{
    width:800px;
    height:300px;
    margin-left:95px;
    float:right;
}
#c1 .c01{
    width:230px;
    height:300px;
    background:url(../images/P61213-073435_mh1481599628989.jpg) no-repeat;
    margin-right:55px;
    float:left;
    }
#c1 .c02{
    width:230px;
    height:300px;
    margin-right:55px;
    background: url(../images/P61031-080947_mh1477923292912.jpg) no-repeat;
    float:left;

    }
#c1 .c03{
    width:230px;
    height:300px;
    background: url(../images/P61031-082321_mh1479020093139.jpg) no-repeat;
    float:right;
    
    }
#c1 .c04{
    width:230px;
    height:30px;
    display:inline-block;
    font-size:30px;
    line-height:normal;
    color:#69F;
    font-family:'微软雅黑';
    padding:260px 10px 0px 40px;
    background:url(../images/by/shouji.gif) 15px 275px no-repeat;
}
#c1 a:hover:{color:#F6C; text-decoration:underline;}
#kb{
    height:20px;
    width:1000px;
    overflow:hidden;
}
#qc{
    width:1000px;
    height:21px;
    background:url(../images/by/qingchun.gif) center center no-repeat;  
}
#c2{
    width:800px;
    height:300px;
    margin-left:95px;
    float:right;
}
#c2 .c05{
    width:230px;
    height:300px;
    background:url(../images/by/2.jpg) no-repeat;
    margin-right:55px;
    float:left;
    }
#c2 .c07{
    width:230px;
    height:300px;
    margin-right:55px;
    background:url(../images/by/1.jpg) no-repeat;
    float:left;

    }
#c2 .c06{
    width:230px;
    height:300px;
    background:url(../images/by/3.jpg) no-repeat;
    float:right;
    
    }
#c2 .c08{
    width:230px;
    height:30px;
    display:inline-block;
    font-size:20px;
    line-height:normal;
    color:#66F;
    font-family:'微软雅黑';
    padding:260px 10px 0px 40px;
    background:url(../images/by/shouji.gif) 15px 266px no-repeat;
    overflow:hidden;
}
#content2{
    margin-top:20px;
    border:2px dashed #09F;
    border-top:none;
    float:left;
}

.lb1{
    height:300px;
    width:230px;    
    background:url(../images/P61031-084220_mh1477881593320.jpg) no-repeat;
    margin-right:25px;
    float:left;
}
.lb2{
    height:300px;
    width:230px;
    background:url(../images/P61209-133829_mh1481292011543.jpg) no-repeat;
    margin-right:25px;
    float:left;
}
.lb3{
    height:300px;
    width:230px;
    background:url(../images/P61031-084220_mh1477881593320.jpg) no-repeat;
    margin-right:25px;
    float:left;    
}
.lb4{
    height:300px;
    width:230px;
    background:url(../images/P61209-135319_mh1481291651950.jpg) no-repeat;
    float:right;
}
.xbt1{
    width:8px;
    height:26px;
    font:bold 9px/24px '微软雅黑';
    color:#FFF;
    padding:0px 6px;
    background:#e2291c;
    display:inline-block;
    position:relative;
    top:265px;  
}
.xbt2{
    width:8px;
    height:26px;
    font:bold 9px/24px '微软雅黑';
    color:#FFF;
    padding:0px 6px;
    background:#ec5a2e;
    display:inline-block;
    position:relative;
    top:265px;  
}
.xbt3{
    width:8px;
    height:26px;
    font:bold 9px/24px '微软雅黑';
    color:#FFF;
    padding:0px 6px;
    background:#f6a544;
    display:inline-block;
    position:relative;
    top:265px;
}
.xbt4{
    width:8px;
    height:26px;
    font:bold 9px/24px '微软雅黑';
    color:#FFF;
    padding:0px 6px;
    background:#ec5a2e;
    display:inline-block;
    position:relative;
    top:265px;
}
.nr2{
    width:196px;
    height:26px;
    padding-left:10px;
    background:#0b1213;
    display:inline-block;
    position:relative;
    top:275px;
    opacity:0.5;    
}     
.nr3{
    width:196px;
    height:26px;
    font:bold 12px/26px '微软雅黑';
    color:#FFF;
    display:inline-block;
    position:relative;
    left:30px;
    top:240px;  /*字体的设置,为了防止字体也有透明度,所以在此处加上这个*/
}
#footer{
    height:50px;
    width:1000px;
    background:#CCC;

}
#db{
    width:50px;
    height:50px;
    background:url(../images/by/ermwima.gif) no-repeat;
    float:left;
    margin-top:30px;
}http://pan.baidu.com/s/1qXSU7xy
#er{
    width:900px;
    height:50px;
    padding-top:25px;
    margin-top:30px;
    float:right;
}

百度链接:http://pan.baidu.com/s/1qXSU7xy 密码:ukoa

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 194,911评论 5 460
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 82,014评论 2 371
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 142,129评论 0 320
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 52,283评论 1 264
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 61,159评论 4 357
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 46,161评论 1 272
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 36,565评论 3 382
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 35,251评论 0 253
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 39,531评论 1 292
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 34,619评论 2 310
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 36,383评论 1 326
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 32,255评论 3 313
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 37,624评论 3 299
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 28,916评论 0 17
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 30,199评论 1 250
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 41,553评论 2 342
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 40,756评论 2 335

推荐阅读更多精彩内容

  • 这是一些学习资源,里面有Android的,iOS的,PHP的,大数据的,Java的,web前端的,C++,Pyth...
    草蜢的逆袭阅读 5,071评论 1 50
  • 这是一些学习资源,里面有Android的,iOS的,PHP的,大数据的,Java的,web前端的,C++,Pyth...
    青青青青阅读 3,292评论 2 24
  • 知识点 知识点汇总链接:http://pan.baidu.com/s/1dFFq1mp 密码:hdvc 程序员英语...
    月老下次记de给我打死结阅读 4,503评论 3 46
  • 1 有人说,喜欢怀旧,是因为老了。 我说,那是因为,你从小没有经过离别。 有旧可怀,方是幸福。 2 “我天天想你,...
    张西云阅读 867评论 13 11
  • 文/新鲜 今天看到一篇文章说最好的感情状态是透过爱你我更爱自己和生活。而读书会给我的感受就是这样,我越来越喜欢和...
    新鲜wendy阅读 150评论 0 0