2009年5月8日 星期五

Blogger 加入背景圖

1. 進入控制主頁 > 版面配置 > 修改HTML > 修改範本 > 把「展開小裝置範本」打勾,body {} 裡的 background:$bgcolor;

background:url("http://Orz/DEhklB9RxK8/s1600/dragonraja_bg.png")


A.重複背景語法語法
background:url(http://背景圖位址) repeat;

B.背景居中語法
background:url(http://背景圖位址) no-repeat top center;

C.自動橫向重複,置於上方靠左的背景圖語法
background:url(http://背景圖位址) repeat-x top left;

D.固定背景不動
請在以上背景語法後,加上此語法
background-attachment:fixed;

E.範例應用:重複背景語法+固定背景不動語法
background:url(http://背景圖位址) repeat;
background-attachment:fixed;

背景圖放置對齊位置可以有下列組合運用:
top left 置上靠左
top right 置上靠右
bottom left 置下靠左
bottom right 置下靠右
bottom center 置下居中
top center 置上居中





沒有留言:

張貼留言

Random Post

  • FlashPoint 2
    27.05.2009 - 0 Comments
    《千萬打造最新引擎遊戲》  而「閃擊點行動2」因為是在次世代主機上,畫面當然不能小看囉!二代的遊戲引擎採用了Codemasters最新的3D引擎「EGO…
  • Boom Blox v0.0.7.9 (s60v5)
    18.06.2009 - 0 Comments
  • 免費軟體:ShutDown After 讓電腦倒數計時、自動關機、重開機、登出或休眠!
    05.05.2009 - 0 Comments
    ShutDown After…
  • 香港貪污探長在新加坡中降頭
    13.05.2009 - 0 Comments
  • Midnight Bowling 2 (s60v5)
    19.06.2009 - 0 Comments
    【遊戲名稱】:Midnight Bowling 2【遊戲分類】:運動