div {
background-image:url(/images/bg.jpg); /*設置div層的背景圖片*/
background-repeat:no-repeat; /*背景圖片不重複顯示*/
background-repeat:repeat; /*背景圖片橫向及縱向重複*/
background-repeat:repeat-x; /*背景圖片橫向重複*/
background-repeat:repeat-y; /*背景圖片縱向重複*/
background-attachment:fixed; /*固定背景圖片*/
background-attachment:scroll; /*滾動背景圖片*/
background-position-x:left; /*背景圖片在橫向的最左方顯示*/
background-position-x:right; /*背景圖片在橫向的最右方顯示*/
background-position-y:top; /*背景圖片在縱向的最上方顯示*/
background-position-y:bottom; /*背景圖片在縱向的最下方顯示*/
}
background-image:url(/images/bg.jpg); /*設置div層的背景圖片*/
background-repeat:no-repeat; /*背景圖片不重複顯示*/
background-repeat:repeat; /*背景圖片橫向及縱向重複*/
background-repeat:repeat-x; /*背景圖片橫向重複*/
background-repeat:repeat-y; /*背景圖片縱向重複*/
background-attachment:fixed; /*固定背景圖片*/
background-attachment:scroll; /*滾動背景圖片*/
background-position-x:left; /*背景圖片在橫向的最左方顯示*/
background-position-x:right; /*背景圖片在橫向的最右方顯示*/
background-position-y:top; /*背景圖片在縱向的最上方顯示*/
background-position-y:bottom; /*背景圖片在縱向的最下方顯示*/
}