网页制作






记录








  • 姓名:张永鑫
  • 性别:男
  • 身高:***cm
  • 体重:**kg
  • 学校:辽宁科技大学
  • 专业:测控技术与仪器
  • 学历:本科
  • 座右铭:不做第二个谁,
    只做第一个我
曲水流觞,沧海踏歌,唱一段一羽清尘,直到曲终人散。站在街头迎风的位置,我感到怅然若失,希望离别后的我们一切安好!

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

你可能感兴趣的:(网页制作)