为了账号安全,请及时绑定邮箱和手机立即绑定

CSS企业网页制作期末考试

标签:
Html/CSS

@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;
    }
点击查看更多内容
TA 点赞

若觉得本文不错,就分享一下吧!

评论

作者其他优质文章

正在加载中
  • 推荐
  • 评论
  • 收藏
  • 共同学习,写下你的评论
感谢您的支持,我会继续努力的~
扫码打赏,你说多少就多少
赞赏金额会直接到老师账户
支付方式
打开微信扫一扫,即可进行扫码打赏哦
今天注册有机会得

100积分直接送

付费专栏免费学

大额优惠券免费领

立即参与 放弃机会
意见反馈 帮助中心 APP下载
官方微信

举报

0/150
提交
取消