常常有部落格新人問我怎樣修改版面,這些是常用的 css語法,我整理出來,讓大家參考。我沒有提供幫訪客設計版面的服務,甚歉。其實,修改版面並不難,請大家自己打造個人風格的版面,當您自己修改完成時,心中的快樂是很難形容的。加油喔~~
怎樣修改呢?css在哪裡呢? /*blog profile 部落格檔案、個人資料、自我介紹加圖片*/ /*自訂欄位寬度三欄式*左欄寬150右欄寬200*/ 如果您要更改自訂欄位的寬度,詳細內容請閱讀怎樣加寬自訂欄位? /*自訂欄位連結列自動加框*/ 外框的樣式有8種,可更改顏色、粗細、距離,詳細說明請閱讀自動加框 /*make coomment bar回應引用更換圖片*/ /*Article隱藏文章寬欄位*/ /*Blog category list module隱藏左右欄位標題*/ /*Blog album module隱藏部落格相簿*/ /*隱藏留言板*/ /*Blog latest update module隱藏更新日期*/ /*Profile隱藏自我介紹欄*/ /* 隱藏頁首和頁尾*/ /* 隱藏整個部落格*/ body{background-image:url(背景圖網址); background-attachment:fixed;} 隱藏整個部落格的語法 ,使用 Firefox 火狐瀏覽器無法隱藏...IE瀏覽器才可以隱藏部落格 。如果您是使用Firefox 火狐瀏覽器,詳細語法請閱讀隱藏部落格 /*Links連結去底線*/ /*Links網頁超連結虛線框*/ /*Links連結浮出效果*/ /*Background背景圖底圖重複*/ /*Background背景圖底圖固定*/ /*部落格標題圖*/ /*Blog title標題置中*/ /*Module latest upup更新日期前小圖*/ /*Nav module list左右欄位小圖*/ /*Article content module文章前小圖*/ /*性別圖*/ /*滑鼠游標*/ /*Opacity for blast招呼語圖框+文字置中*/ /*shared rounded corner for all modules無框線語法*/ /*部落格漸層外框線*/ /*按鈕框框*/ /*Text color for blog title部落格標題字體顏色*/ /*Text color for blog title部落格敘述文字*/ /*Text color for main content中間文章欄位文字顏色*/ /*Nav module body左右欄位底圖*/ /*Nav module header左右欄標題底圖*/ /*Blog title部落格標題敘述欄底圖*/ /*Main content body文章底圖*/ /*Main content header文章標題底圖*/ /*Background color for whole page背景底色*/ /*Background color for blog title部落格敘述底色*/ /*Background color for module左右欄位內容底色*/ /*Nav module header左右欄位標題底色*/ /*Opacity for main content文章底圖透明度*/ /*Opacity for sub column左右欄位透明度*/ /*Opacity for blogtitle部落格標題敘述透明度*/ 如果您是使用Firefox 瀏覽器,會發現版面的透明度無效。這時只要在每個想要呈現透明的部分,使用這語法 background:url( ) ,詳細說明請閱讀使用Firefox 瀏覽器時的透明版面 /*捲軸變色*/ html{ /*Shared rounded corner for all modules框線圖*/ 希望這些內容,能對您有所幫助,加油喔~~ . . . . 《 晨曦乍現 公告 》 除非你的年紀比我大!!!否則請不要叫我幫你修改版面~~(帥哥不在此限內...)
1.將所選用的圖片網址,加到語法中
2.你的大頭貼下方 【編輯個人檔案】→ 【面板設定】→【自訂樣式】
3.將語法貼到自訂樣式(css語法)中,就行了...
table#bloginfo th {background:url(部落格檔案標題圖片的網址);}
table#bloginfo td {background:url(部落格檔案敘述圖片的網址);}
table#usrinfo th {background:url(個人資料標題圖片的網址);}
table#usrinfo td {background:url(個人資料敘述圖片的網址);}
#yusrintro p {background:url(自我介紹圖片的網址);}
.thrcol .yc3main {width:100%;float:left; margin-left:-210px;}
.thrcol .yc3mainbd {margin-left:210px;}
.thrcol .yc3pri {width:100%;float:right;margin-right:-160px;}
.thrcol .yc3pribd {margin-right:160px;}
.thrcol .yc3subbd {width:200px;float:right;}
.thrcol .yc3sec {width:150px;}
.thrcol .yc3sub{z-index:1;}
.thrcol .yc3pri,.thrcol .yc3main{z-index:10;}
.ycntmod .mbd ul.list li {BACKGROUND: url(底圖網址 ) 0% 100%; COLOR:white; border:5px; BORDER-TOP-STYLE: double; BORDER-RIGHT-STYLE: double; BORDER-LEFT-STYLE: double; BORDER-BOTTOM-STYLE: double;}
div.btncomment a {display:block;height:高px;width:寬px;background:url(我要回應圖片網址) no-repeat;}
div.btntrackback a {display:block;height:高px;width:寬px;background:url(我要引用圖片網址) no-repeat;}
.yc3pribd .mhd{display:none}
.yc3pribd .mbd{zoom:1;filter:alpha(opacity:底圖透明度)}
.yc3sec .mhd,.yc3sub .mhd{display:none}
.yc3sec .mbd,.yc3sub .mbd{zoom:1;filter:alpha(opacity:底圖透明度)}
#ymodalbum{display:none;}
#ymodmsgbd h3{display:none}
#ymodupdate{display:none}
#ymodprf{display:none}
#yhtw_masthead,#yhtw_mastfoot{display:none;}
.ycntmod { filter:alpha(opacity:0); }
a,a:link,a:visited{color:#未連結時色碼;text-decoration: none}
a:hover{color:#連結時色碼;text-decoration: none;}
a,a:link,a:visited{color:#色碼;text-decoration:none}
a:hover{color:#色碼;background-image:url(http://圖檔網址.gif);background-repeat:repeat;border:1px dotted #色碼;position:relative;top:1px;left:1px}
a:hover{ border: 2px #fff outset }
body{background:#ffffff url(背景圖網址) repeat;}
body{ background:#ffffff url(背景圖網址) no-repeat;background-attachment: fixed}
#yblogtitle h1 { display:block; float:left; background:url(標題圖網址)no-repeat; width:圖片寬度px; height:圖片高度px; font-size:0; line-height:0; text-indent:-5000px; overflow:hidden; cursor:pointer; cursor:hand;}
#yblogtitle .mbd,#yblogtitle .mft{font-size:180%;color:#色碼;font-family:新細明體; color:#D23C78;text-align:center;}
#yblogtitle .thd a{width:168px;height:40px;top:-0px;position:relative;left:0px;display:block;}
#yblogtitle .thd h1 {font-size:180%;color:white;font-family:新細明體;}
#ymodupdate .mbd .date{background:url(小圖網址) left center no-repeat;padding-left:11px;font-size:104%;font-family:verdana;}
.ycntmod .mbd ul.list li {background:url(小圖網址1) left .1em no-repeat;padding-left:25px;margin-bottom:3px;_margin-bottom:3px;_line-height:1.5em;}
.ycntmod .mbd ul.list li.more {margin:-3px 0 0 -3px;text-align:right;background:url(小圖網址2) 20px center no-repeat;}
.yblogcnt .blgtitlebar {margin-bottom:9px;zoom:1;}
.yblogcnt .blgtitlebar h2 {font-size:125%;font-weight:bold;background:url(小圖網址) no-repeat;padding-left:60px;}
/*btnsbsrb訂閱部落格圖*/
div#btnsbsrb a{display:block;width:圖片寬度px;height:圖片高度px;overflow:hidden;background:url(訂閱圖網址) no-repeat;margin:0;}
div#btnsbsrb_nologin a{display:block;width:圖片寬度px;height:圖片高度px;overflow:hidden;background:url(訂閱圖網址) no-repeat;margin:0;}
#yblogtitle .tft {text-align:right;padding-bottom:0px;position:relative;}
#ymodprf .horos img{display:none;}
#ymodprf .horos{width:圖片寬度px;height:圖片高度px;background:url(性別圖網址) center no-repeat;}
body{cursor:url(未連結時游標網址)}
a:hover {cursor:url(連結時游標網址)}
#yblast{zoom:1;position:relative;top:-20px;left:0px;margin:0 0 -55px 0;z-index:2;}
#yblast .text,#yblast .bg{overflow:hidden;padding:5px 5px;width:招呼語圖框寬px;height:招呼語圖框高px;}#yblast .text{zoom:1;margin:-55px 0 0;}
#yblast .text a#yblast a.edit{background:url(圖框網址);width:13px;height:13px;}
#yblast .bg {zoom:1; filter:alpha(opacity:透明度); background: url(圖框網址) no-repeat}
#yblast .text{color:#文字顏色之色碼;font-size:90%;}
.ycntmod {width:100%;position:relative;margin-bottom:10px;overflow:hidden;}
.ycntmod .rctop {zoom:1;background:url() left top no-repeat;margin-right:5px;}
.ycntmod .rctop div {background:url() right top no-repeat;height:5px;font-size:0;position:relative;right:-5px;}
.ycntmod .rcbtm {zoom:1;background:url() left bottom no-repeat;margin-right:5px;}
.ycntmod .rcbtm div {background:url() right bottom no-repeat;height:5px;font-size:0;position:relative;right:-5px;}
.ycntmod .rcl {padding-left:5px;background:url() repeat-y;}.ycntmod .rcr {zoom:1;padding-right:5px;background:url() right repeat-y;}
.ycntmod .text {position:relative;word-break:break-all;}.yc3pribd .ycntmod{overflow:visible;}
.yc3pribd .ycntmod .yblogcnt{overflow:hidden;}
/*部落格單色外框線*/
body {border: 框線大小px double #大框線色碼 ;}
html{border-top : 大小px solid #色碼; border-bottom : 大小px solid #色碼; border-left : 大小px solid #色碼; border-right : 大小px solid #色碼; }
input,select{background: #框底色碼;color: #文字色碼;border: 1px solid #框線色碼;FONT-SIZE: 9px;font-family:verdana;}
/*Text color for module左右欄位標題文字顏色*/
.text {color: #文字顏色之色碼}
#yblogtitle .text {color: #文字顏色之色碼}
#yblogtitle .text {color:#文字顏色之色碼;}
.yc3pribd .text {color: #文字顏色之色碼}
.yc3sec .mbd, .yc3subbd .mbd, .yc3sec .mft, .yc3subbd .mft{background-image:url(底圖網址);}
.yc3sec .mhd, .yc3subbd .mhd, .yc3sec .mhd a, .yc3subbd .mhd a,.yc3sec .mhd a:link, .yc3subbd .mhd a:link,.yc3sec .mhd a:visited, .yc3subbd .mhd a:visited{background-image : url(底圖網址);}
#yblogtitle .mbd,#yblogtitle .mft{background: url(底圖網址) repeat; }#yblogtitle h1{color: #000000 ;}
.yc3pribd .mbd, .yc3pribd .mft, #yreplymsg table, #ysbscrblist table, #ybloginfo table, #yusrinfo table, #yusrintro p{
background-image:url(底圖網址);color: #FF0099} #ymodcal .mbd td strong {color: #FF0099;}
.yc3pribd .mhd{ background:url(圖片網址) repeat; color:; #FF0099}
body {background-color: #色碼}
#yblogtitle .mbd, #blogtitle .mft {background-color: #色碼}
.yc3sec .mbd, .yc3subbd .mbd, .yc3sec .mft, .yc3subbd .mft {zoom:1; background: #色碼; filter:alpha(opacity:透明度)}
.yc3sec .mhd, .yc3subbd .mhd{background: #色碼;color: #色碼;}
.yc3pribd .rctop,.yc3pribd .rctop div,.yc3pribd .rcl,.yc3pribd .rcr,.yc3pribd .rcbtm,.yc3pribd .rcbtm div {zoom:1; filter:alpha(opacity:透明度)}
#yblast{display}
.yc3subbd .rctop,.yc3subbd .rctop div,.yc3subbd .rcl,.yc3subbd .rcr,.yc3subbd .rcbtm,.yc3subbd .rcbtm div, .yc3sec .rctop,.yc3sec .rctop div,.yc3sec .rcl,.yc3sec .rcr,.yc3sec .rcbtm,.yc3sec .rcbtm div {zoom:1; filter:alpha(opacity:透明度)}
#yblogtitle .rctop, #blogtitle .rctop div, #yblogtitle .rcl, #yblogtitle .rcr, #yblogtitle .rcbtm, #yblogtitle .rcbtm div {zoom:1; filter:alpha(opacity:透明度)}
SCROLLBAR-FACE-COLOR: 色碼; /*設定軸面顏色*/
SCROLLBAR-HIGHLIGHT-COLOR:色碼; /*設定軸面三角左邊顏色*/
SCROLLBAR-SHADOW-COLOR: 色碼; /*設定軸面三角右邊顏色*/
SCROLLBAR-3DLIGHT-COLOR: 色碼; /*設定左立體邊顏色*/
SCROLLBAR-DARKSHADOW-COLOR: 色碼; /*設定右立體面顏色*/
SCROLLBAR-ARROW-COLOR: 色碼; /*設定箭頭的顏色*/
SCROLLBAR-TRACK-COLOR: 色碼; /*設定軸軌的顏色*/
}
.ycntmod {width:100%;position:relative;margin-bottom:10px;overflow:hidden;}
.ycntmod .rctop {zoom:1;background:url(左彎上邊框圖網址) left top no-repeat;margin-right:5px;}
.ycntmod .rctop div {background:url(右上彎角圖網址) right top no-repeat;height:5px;font-size:0;position:relative;right:-5px;}
.ycntmod .rcbtm {zoom:1;background:url(左彎下框邊圖網址) left bottom no-repeat;margin-right:5px;}
.ycntmod .rcbtm div {background:url(右下彎角圖網址) right bottom no-repeat;height:5px;font-size:0;position:relative;right:-5px;}
.ycntmod .rcl {padding-left:5px;background:url(左側直邊框圖網址) repeat-y;}
.ycntmod .rcr {zoom:1;padding-right:5px;background:url(右側直邊框圖網址) right repeat-y;}
.ycntmod .text {position:relative;word-break:break-all;}
.yc3pribd .ycntmod{overflow:visible;}
.yc3pribd .ycntmod .yblogcnt{overflow:hidden;}
留言列表