<thead id="toltr"></thead>
<progress id="toltr"><strike id="toltr"></strike></progress>

  • <ul id="toltr"><meter id="toltr"></meter></ul>
    <b id="toltr"></b>

    <strike id="toltr"></strike>

    <b id="toltr"></b>

  • 歡迎進入紅數(shù)信息技術(shù)有限公司官網(wǎng)
    4008088160
    現(xiàn)在的位置:首頁 > 發(fā)布營銷型網(wǎng)站建設(shè) > 新聞資訊 > border和clear的屬性。
    border和clear的屬性。
    信息來源:優(yōu)度網(wǎng)絡(luò)  發(fā)布日期:2009/5/4 瀏覽數(shù)量:1118
    文章導讀:

    #banner {
     background:url(banner.jpg) 0 30px no-repeat; /*加入背景圖片*/
     width:730px; /*設(shè)定層的寬度*/
     margin:auto; /*層居中*/
     height:240px; /*設(shè)定高度*/
     border-bottom:5px solid #EFEFEF; /*畫一條淺灰色實線*/
     clear:both /*清除浮動*/
    }

    通過border很容易就繪制出一條實線了,并且減少了圖片下載所占用的網(wǎng)絡(luò)資源,使得頁面載入速度變得更快。

    另一個要說明的就是clear:both,表示清除左、右所有的浮動,在接下來的布局中我們還會用這個屬性:clear:left/right。在這里添加clear:both是由于之前的ul、li元素設(shè)置了浮動,如果不清除則會影響banner層位置的設(shè)定。

     

    相關(guān)信息
    • 網(wǎng)絡(luò)營銷培訓
    • 微網(wǎng)站
    • 掃二維碼
    • 1
    • 2
    • 3
    • 最新上傳
    • 精品案例
    18973218026
    其他業(yè)務(wù)合作請發(fā)下面郵箱
    郵箱:254596208@qq.com
    地址:湖南省湘潭市岳塘區(qū)霞光東路58號(維也納酒店6樓)
    營銷型網(wǎng)站建設(shè)掃一掃關(guān)注官方微信

    關(guān)注優(yōu)度

    官方微信
    官方微博
    官網(wǎng)首頁
    亚洲日本中文字幕天天跟新,无码综合黄色在线,亚洲人成网站在线观看无码,久久久久亚洲无码
    <thead id="toltr"></thead>
    <progress id="toltr"><strike id="toltr"></strike></progress>

  • <ul id="toltr"><meter id="toltr"></meter></ul>
    <b id="toltr"></b>

    <strike id="toltr"></strike>

    <b id="toltr"></b>