继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续
感谢您的支持,我会继续努力的
赞赏金额会直接到老师账户
将二维码发送给自己后长按识别
微信支付
支付宝支付

CSS企业网页制作期末考试

慕粉4295441
关注TA
已关注
手记 2
粉丝 0
获赞 2

@charset "gb2312";
/ CSS Document /

  • {
    padding: 0;
    margin: 0;
    font-size: 12px;
    }
    body {
    background-color: #F5F5F5;
    }
    .wrap {
    width: 1000px;
    margin: 0 auto;
    }
    .top {
    width: 100%;
    height: 27px;
    background: url(../images/top_bg.jpg) repeat-x;
    }
    .top_content {
    width: 1000px;
    margin: 0 auto;
    line-height: 27px;
    }
    .top_content li {
    float: right;
    list-style-image: url(../images/arrow.jpg);
    width: 70px;
    }
    .top_content a:link, .top_content a:visited {
    color: #8E8E8E;
    text-decoration: none;
    }
    .top_content a:hover, .top_content a:active {
    color: #C00;
    text-decoration: none;
    }
    .logo {
    height: 80px;
    background-color: #FFF;
    }
    .logo_left {
    width: 375px;
    float: left;
    display: inline;
    }
    .logo_right {
    width: 300px;
    height: 28px;
    margin-top: 30px;
    float: right;
    display: inline;
    color: #8E8E8E;
    }
    .logo_right img {
    vertical-align: middle;
    margin-right: 10px;
    }
    .tel {
    font-family: "微软雅黑";
    font-size: 22px;
    color: #C00;
    }
    .nav {
    height: 40px;
    }
    .nav_left {
    width: 10px;
    background: url(../images/nav_left.jpg) no-repeat;
    }
    .nav_mid {
    width: 980px;
    background: url(../images/nav_bg.jpg) repeat-x;
    line-height: 40px;
    }
    .nav_right {
    width: 10px;
    background: url(../images/nav_right.jpg) no-repeat;
    }
    .nav_left, .nav_mid, .nav_right {
    height: 40px;
    float: left;
    display: inline;
    }
    .nav_mid li {
    float: left;
    list-style-type: none;
    width: 100px;
    font-family: "微软雅黑";
    text-align: center;
    }
    .nav_mid a:link, .nav_mid a:visited {
    font-size: 16px;
    color: #FFF;
    text-decoration: none;
    }
    .nav_mid a:hover, .nav_mid a:active {
    font-size: 16px;
    color: #FF0;
    text-decoration: none;
    }
    .nav_mid_left {
    width: 680px;
    }
    .nav_mid_right {
    width: 300px;
    }
    .nav_mid_left, .nav_mid_right {
    float: left;
    display: inline;
    }
    .search_text {
    width: 190px;
    float: left;
    height: 25px;
    margin-top: 5px;
    background: url(../images/search.jpg) no-repeat right center;
    background-color: #FFF;
    border: 1px solid #FFF;
    padding-right: 25px;
    }
    .ad {
    height: 320px;
    margin-top: 5px;
    overflow: hidden;
    }
    .main {
    height: 250px;
    margin-top: 5px;
    background-color: #FFF;
    }
    .news {
    width: 340px;
    }
    .products {
    width: 410px;
    margin: 0 7px;
    }
    .sidebar {
    width: 230px;
    float: left;
    display: inline;
    height: 250px;
    }
    .news, .products {
    float: left;
    display: inline;
    height: 250px;
    border: 1px solid #E8E8E8;
    }
    .title {
    height: 35px;
    border-bottom: 2px solid #E8E8E8;
    font-size: 14px;
    font-family: "微软雅黑";
    line-height: 35px;
    font-weight: bold;
    color: #786F66;
    }
    .titile_left {
    width: 70%;
    float: left;
    padding-left: 20px;
    }
    .title_right {
    width: 20%;
    float: right;
    text-align: right;
    }
    .title_right a {
    color: #999;
    text-decoration: none;
    font-family: "宋体";
    font-size: 10px;
    font-weight: normal;
    padding-right: 10px;
    }
    .pic_news {
    height: 80px;
    margin-top: 10px;
    line-height: 22px;
    }
    .pic_news img, .product_list img {
    float: left;
    margin: 0 5px;
    }
    .pic_news a, .product_list a {
    color: #C00;
    text-decoration: none;
    }
    .red {
    color: #C00;
    font-weight: bold;
    }
    .news_list {
    /height:90px;/
    margin-top: 20px;
    }
    .news_list li {
    background: url(../images/list.jpg) no-repeat;
    list-style-type: none;
    padding-left: 10px;
    margin: 8px;
    border-bottom: 1px dotted #CCC;
    height: 17px;
    line-height: 17px;
    }
    .news_list span {
    float: right;
    color: #999;
    }
    .news_list a:link, .news_list a:visited {
    text-decoration: none;
    color: #000;
    }
打开App,阅读手记
0人推荐
发表评论
随时随地看视频慕课网APP