css置中盒子模式

來源:互聯網
上載者:User

 

body
{
    background-color:#EEF3F6;
    margin:1px 0px 0px 0px;
    padding:0px;
    text-align:center;
    font-size:12px;
    font-family:Arial,Helvetica,sans-serif;
}

#container
{
    position:relative;
    margin:0px auto 0px auto;
    width:971px;
    text-align:left;
}

#top
{
    width:971px;
    height:29px;
     background:url('../images/top01.jpg');
}
#banner
{
    width:971px;
    height:160px;
    background:url('../images/banner02.jpg');
}
#nav
{
     width:971px;
     height:38px;
     background:url('../images/nav03.jpg');
   
}
#linkul
{
     list-style-type: none;
}
#linkul li
{
    float:left;
}
#linkul li a
{
    color:#F3E6E5;
    font-family:黑體;
    font-size:14px;
    font-weight:bolder;
    text-decoration:none;
    padding-top:12px;
    display:block;
    width:97px;
    height:22px;
    text-align:center;

}
#linkul li a:hover
{
    color:#FFFFFF;
}
#space
{
     width:971px;
     height:42px;
     background:url('../images/space05.jpg');
}
#news
{
     width:703px;
     height:260px;
     border: solid 1px #ECECEC;
     float:left;
     padding:2px;
      background-color:#FEFEFE;
}
#news_top
{
    color:#A81616;
    font-family:黑體;
    font-size:14px;
    font-weight:bolder;
    text-decoration:none;
    padding-top:12px;
    padding-left:22px;
    text-align:left;
     width:680px;
     height:30px;
     background:url('../images/news06.jpg');
}

 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.