最新網誌

編輯 關閉
網誌分類:BLOG教學 |
重要
網誌日期:2009-03-22 01:54
先認識一下用圖的排位:



(頭尾可用任何形狀和高度的圖片)



左右欄位外框 (須用寬度150px的圖片)
.col-150 .rc_bd .rc_bc .hd .titlebar, .col-150 .rc_bd .rc_bc .hd .titlebar .hd,
.col-150 .rc_bd  .rc_bc .bd,
.col-150 .rc div, .col-150 .rc_ft div,.col-150 .rc_bd div.rc_bc{background:none}
.col-150 .rc{background:url(組件上框) no-repeat center;height:圖片高度px;}
.col-150 .rc_bd{background:url(組件中間部份及左右框) repeat-y center}
.col-150 .rc_ft{background:url(組件下框) no-repeat center;height:圖片高度px;}



中間欄位外框 (須用寬度600px的圖片)
.col-600 .rc_bd .rc_bc .hd .titlebar, .col-600 .rc_bd .rc_bc .bd,
.col-600 .rc div, .col-600 .rc_ft div,.col-600 .rc_bd div.rc_bc{background:none}
.col-600 .rc{background:url(組件上框) no-repeat center;height:圖片高度px;}
.col-600 .rc_bd{background:url(組件中間部份及左右框) repeat-y center}
.col-600 .rc_ft{background:url(組件下框) no-repeat center;height:圖片高度px;}

使用後如需隱藏相關內容組件外框(如移除相關內容組件語法正確,其外框根本不會出現)
.mod-relatives .rc_bd,.mod-relatives .rc,.mod-relatives .rc_ft
{background:none}



使用中間欄位外框後招呼語外框回復正常 (不用修改, 請直接套用)
#blast .rc{height:5px;background:url(http://hk.l.yimg.com/hk.yimg.com/i/blog/rc_nw.gif) left bottom no-repeat;}
#blast .rc div{background:url(http://hk.l.yimg.com/hk.yimg.com/i/blog/rc_ne.gif) right bottom no-repeat;}
#blast .rc_bd{background:url(http://hk.l.yimg.com/hk.yimg.com/i/blog/rc_w.gif) repeat-y;}
#blast .rc_bd div.rc_bc{background:url(http://hk.l.yimg.com/hk.yimg.com/i/blog/rc_e.gif) right top repeat-y;}
#blast .rc_ft{height:10px;background:url(http://hk.l.yimg.com/hk.yimg.com/i/blog/blast-sw.gif) no-repeat left bottom;}
#blast .rc_ft div{background:url(http://hk.l.yimg.com/hk.yimg.com/i/blog/blast-se.gif) no-repeat right bottom;}



訂閱欄位 (依自己blog的訂閱組件位置選用寬度150px/600px的圖片)
#subscribe_highlight .rc_bd .rc_bc .hd .titlebar, #subscribe_highlight .rc_bd .rc_bc .bd,
#subscribe_highlight .rc div, #subscribe_highlight .rc_ft div,#subscribe_highlight .rc_bd div.rc_bc{background:none}
#subscribe_highlight .rc{background:url(組件上框) no-repeat center;height:圖片高度px;}
#subscribe_highlight .rc_bd{background:url(組件中間部份及左右框) repeat-y center}
#subscribe_highlight .rc_ft{background:url(組件下框) no-repeat center;height:圖片高度px;}



blog友欄位 (依自己blog的blog友組件位置選用寬度150px/600px/760px/920px的圖片)
#friendlist_module .rc_bd .rc_bc .hd .titlebar, #friendlist_module .rc_bd .rc_bc .bd,
#friendlist_module .rc div, #friendlist_module .rc_ft div,#friendlist_module .rc_bd div.rc_bc{background:none}
#friendlist_module .rc{background:url(組件上框) no-repeat center;height:圖片高度px;}
#friendlist_module .rc_bd{background:url(組件中間部份及左右框) repeat-y center}
#friendlist_module .rc_ft{background:url(組件下框) no-repeat center;height:圖片高度px;}



三欄式最頂及最底欄位 (須用寬度920px的圖片)
.row-920 .rc_bd .rc_bc .hd .titlebar, .row-920 .rc_bd .rc_bc .bd,
.row-920 .rc div, .row-920 .rc_ft div, .row-920 .rc_bd div.rc_bc{background:none}
.row-920 .rc{background:url(組件上框) no-repeat center;height:圖片高度px;}
.row-920 .rc_bd{background:url(組件中間部份及左右框) repeat-y center}
.row-920 .rc_ft{background:url(組件下框) no-repeat center;height:圖片高度px;}



兩欄式最頂及最底欄位 (須用寬度760px的圖片)
.row-760 .rc_bd .rc_bc .hd .titlebar, .row-760 .rc_bd .rc_bc .bd,
.row-760 .rc div, .row-760 .rc_ft div,.row-760 .rc_bd div.rc_bc{background:none}
.row-760 .rc{background:url(組件上框) no-repeat center;height:圖片高度px;}
.row-760 .rc_bd{background:url(組件中間部份及左右框) repeat-y center}
.row-760 .rc_ft{background:url(組件下框) no-repeat center;height:圖片高度px;}



150px寬度圖片示範



示範圖片來源: http://tw.myblog.yahoo.com/mm-18m/article?mid=10236

香港Blog語法:
.col-150 .rc div, .col-150 .rc_ft div,
.col-150 .rc_bd div.rc_bc{background:none}
.col-150 .rc{background:url(http://i326.photobucket.com/albums/k428/mm18mm18m/33-1-1.gif) no-repeat bottom;height:85px;}
.col-150 .rc_bd{background:url(http://i326.photobucket.com/albums/k428/mm18mm18m/33-2.gif) repeat-y}
.col-150 .rc_ft{background:url(http://i326.photobucket.com/albums/k428/mm18mm18m/33-3.gif) no-repeat;height:85px;}



引用(3)
下50個 下50個

更多網誌

網誌分類

瀏覽日期

2009
S M T W T F S
  1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31