首頁 > web前端 > html教學 > css三列布局_html/css_WEB-ITnose

css三列布局_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
發布: 2016-06-21 08:57:26
原創
1391 人瀏覽過

<!DOCTYPE html><html><head>    <meta charset="UTF-8">    <title></title>    <style type="text/css">        body{            margin: 0;            padding: 0;        }        .left{            width: 200px;            height: 200px;            position: absolute;            left: 0;            top: 0;            background-color: #464646;        }        .middle{            height: 200px;            margin: 0 310px 0 210px;            background-color: #006486;        }        .right{            height: 200px;            width: 300px;            position: absolute;            right: 0;            top: 0;            background-color: #888888;        }    </style></head><body>    <div class="left"></div>    <div class="middle"></div>    <div class="left"></div></body></html>
登入後複製


相關標籤:
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
最新問題
限制div高度的專案實施方法
來自於 1970-01-01 08:00:00
0
0
0
javascript - 瀑布流順序問題
來自於 1970-01-01 08:00:00
0
0
0
設定了margin:0 auto;無法居中咋回事?
來自於 1970-01-01 08:00:00
0
0
0
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板