網(wǎng)站制作9個永恒的3列布局技術(shù)

2014-10-10    分類: 網(wǎng)站制作

網(wǎng)站制作9個永恒的3列布局技術(shù)
成都網(wǎng)站建設(shè)的目標是找到一個布局,具有總的布局靈活性,相等的高度柱,只是做工精細。讓Digg深,見下面的資源列表提供華麗而有效的3柱基于CSS的布局通常有充分的布局結(jié)構(gòu),如標題、導航欄、內(nèi)容的容器,側(cè)邊欄和頁腳。

網(wǎng)站制作9個永恒的3列布局技術(shù)

1.#leftcontent {
position: absolute;
left:10px;
top:50px;
width:200px;
}
2.#centercontent {
margin-left: 199px;
margin-right:199px;
margin-left: 201px;
margin-right:201px;
}
html>body #centercontent {
margin-left: 201px;
margin-right:201px;
}
3.#rightcontent {
position: absolute;
right:10px;
top:50px;
width:200px;
}

2)3列流體CSS布局-與人造列和100%高度
1.#left { float: left; width: 155px; padding: 5px; position: relative;/*** IE needs this ***/ }
2.#right { float: right; width: 110px; padding: 5px; position: relative;
/*** IE needs this ***/ margin-right: -120px; /** This negative margin-right value is the same as the right column width (width + padding). ***/ position: relative; /*** IE needs this ***/ }
3.#content { float: right; margin-right: -165px;/*** Same length as .outer padding-left but with negative value ***/ width: 100%; position: relative;/*** IE needs this ***/ }

3)3-col通過CSS布局
沒有表,沒有絕對定位(根本沒有定位),沒有黑客(?。┧辛械母叨认嗤?br/>1.#left { float:left; width:150px; margin:0; padding:0; background:url("corner.gif") top right no-repeat; font-size:80%; }
2.#right { float:right; width:150px; margin:0; padding:0; background:url("corner.gif") top right no-repeat; font-size:80%; }
3.#middle { margin:0 150px; background:yellow; font-size:80%; }

4)3列-側(cè)翼菜單
三列,元素的智能順序。

5)多列布局爬出盒子
這是列表之外的文章的一部分,這三列的布局以一種稍微不同的方法:邊界是直接應用于集裝箱部

1.#container{ background-color:#0ff; float:left; width:500px; border-left:150px solid #0f0; » /* The width and color of the left rail */ border-right:200px solid #f00; » /* The width and color of the right rail */ }
2.#leftRail{ float:left; width:150px; margin-left:-150px; position:relative; }
3.#center{ float:left; width:500px; margin-right:-500px; }
4.#rightRail{ float:right; width:200px; margin-right:-200px; position:relative; }


6)LayoutGala的3個固定柱
1.div#container {width:700px;margin:0 auto}
2.div#wrapper {float:left;width:100%}
3.div#content {margin-right: 300px}
4.div#navigation {float:left;width:150px;margin-left:-150px}
5.div#extra {float:left;width:150px;margin-left:-300px}
6.

7)3固定搜索引擎優(yōu)化
1.#page_margins {width: 980px; min-width: 980px; max-width:none }
2.#main { float:left; width: 100%; background-color: transparent; background-image: url(../../images/bg_pattern.png); background-repeat:repeat-y; background-position:left; }
3.#col1 { width: 480px; float:left; margin-left: 240px; }
4.#col2 { width: 240px; float:left; margin-left: -720px; }
5.#col3 { margin-left: -5px; margin-right: 0; width: 240px; float:right;}


(8)一個真正的布局
1.#block_1 { float: left; width: 34%; margin-left: 33%; }
2.#block_2 { float: left; width: 33%; margin-left: -67%; }
3.#block_3 { float: left; width: 33%; }


9)馬克斯設(shè)計-液體瘋狂
一個很好的液體例子,可以用來做報紙一樣的布局。
必須檢查布局銀行

CSS布局- 950像素-簡化您的CSS設(shè)計與這些簡單的純CSS布局
threecolumnlayouts–CSS討論收集了一噸的3欄布局和各迅速總結(jié),即流體/固定,頁眉/頁腳!

網(wǎng)站名稱:網(wǎng)站制作9個永恒的3列布局技術(shù)
網(wǎng)站地址:http://www.muchs.cn/news/20394.html

網(wǎng)站建設(shè)、網(wǎng)絡(luò)推廣公司-創(chuàng)新互聯(lián),是專注品牌與效果的網(wǎng)站制作,網(wǎng)絡(luò)營銷seo公司;服務項目有網(wǎng)站設(shè)計網(wǎng)站制作

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

網(wǎng)站建設(shè)網(wǎng)站維護公司