當前位置:編程學習大全網 - 源碼下載 - 怎麽用代碼弄新浪博客啊 我按背景代碼弄得怎麽沒用呢?

怎麽用代碼弄新浪博客啊 我按背景代碼弄得怎麽沒用呢?

管理博客-自定義設置-首頁內容維護-自定義空白面板-進入編輯-新增

在面板標題中隨便輸入點東西,在版面簡介裏打幾個空格[1,2個就好],鉤上顯示緣代碼,將這種代碼

<STYLE type=text/css>

body

{background:url(頁面背景圖片) repeat

scroll!important;} </STYLE>

粘貼進去[註意,鉤上鉤後顯示的代碼不要刪掉,直接粘貼到它的後面就行了]

[還有,代碼前後必須有

<STYLE type=text/css>

</STYLE> !!!!!!!!!!!!!!!!!!!!!不能忘]

把頁面背景圖片刪去[括號不要刪],將自己喜歡圖片的地址復制進去[要大圖,因為是大背景]

然後把鉤去掉,點擊保存.

接著設置其他代碼,方法壹樣.

然後在博客管理-自定義設置-制定我的首頁.點擊添加模塊,將自定義空白面板裏的選項都選上,點擊選取..這就可以看到 變化了..如果滿意了,就點擊保存設置-OK~``

忽忽..打的好累.................

參考資料:

/question/24993414.html?si=2

其實這也是我回答的拉....

另外,,還有壹些代碼:

整體模板背景的源代碼:

<STYLE type=text/css>

body

{background:url(頁面背景圖片) repeat

scroll!important;}

.logo

{background:url(題圖logo圖片) no

repeat no scroll!mportant;}

.banner

{background:url(題圖大圖) no

repeat no scroll!mportant;}

.menu{

background:url("題圖下的菜單圖片") no-

repeat center;}

.feeds .up{

background:url("正文標題欄上翻時的圖片") no-

repeat center;}

.feeds .down{

background:url("正文標題欄下翻時的圖片") no-

repeat center;}

.feeds .function{background:url("正文摘要結尾處菜單的圖片") no-

repeat right;}

.links .up{

background:url("面板標題欄上翻時圖片");}

.links .down{

background:url(面板標題欄下翻時的圖片);}

.links .mid{

background:url(面板的背景圖片);}

.photo .mid{

background:url(形象照片處的背景圖片);}

.label .mid{

background:url(自定義面板的背景圖片);}

.calendar .mid{

background:url("日歷面板背景");}

.callboard .up{

background:url("公告欄標題欄上翻時圖片");}

.callboard .down{

background:url("公告欄標題欄下翻時圖片");}

.callboard .mid{

background:url("公告欄背景圖片");}

.bodyBg{

background:url("正文背景圖片");}

.bodyBottom{

background:url("正文背景圖片");}

.gbook .up{

background:url('留言板標題欄上翻時的圖片') no-repeat;}

.gbook .down{

background:url('留言板標題欄下翻時的圖片') no-repeat;}

.feeds .page{

background:url("正文文章頁數圖片") no-repeat center;}

</STYLE>

  • 上一篇:Hdfs寫源代碼
  • 下一篇:聊城市醫保局的咨詢電話是多少?
  • copyright 2024編程學習大全網