毋須制作背景圖, 很方便的. 沒有用論壇入口的話可合用.
這裡先介紹一點試試.
圖例:
框線的語法
首頁頁面框的內及外框線
打開: overall_header.tpl
找到 (注意每個風格可能不一樣, 找到大概的便可以啦.)
代碼: 選擇全部
/* This is the border line & background colour round the entire page */
.bodyline { background-color: color: {T_TD_COLOR2}; background-{T_BODY_BACKGROUND});border: 6px {T_TH_COLOR1} solid; } // 這是外框線
/* This is the outline round the main forum tables */
.forumline { background-color: color: #ff0000; border: 2px solid;} // 這是內框線
把 solid 改為你要的框線語法, 或 border: (之後修改此處框線語法)
再調整 px 之前的數值大小, 數值越大越寬.
引言框及代碼框
打開: overall_header.tpl
找到:
代碼: 選擇全部
/* Quote & Code blocks */
.code {
font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
background-color: {T_TD_COLOR1}; border: #3ABB37; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}
.quote {
font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
background-color: {T_TD_COLOR1}; border: #3ABB37; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}
代碼: 選擇全部
border-style: solid;
px 之前的是框線粗幼語法.
border-left-width: 1px; 左框線
border-top-width: 1px; 頂框線
border-right-width: 1px; 右框線
border-bottom-width: 1px 底框線
.code 是代碼框
.quote 是引言框
上圖中的 8 種框線語法.
代碼: 選擇全部
solid // subSilver 原用框線語法.
dashed // 虛線語法.
double // 雙線語法.
dotted // 點線語法.
outset // 凸版語法.
inset // 凹版語法.
groove // 坑紋語法.
ridge // 圓線語法.
http://www.kktfriend.com/phpBB2/
引言及代碼框 Demo 效果:
http://www.kktfriend.com/phpBB2/viewtopic.php?t=5745
好了, 有閒再續.
.