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');
}

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.