设置背景颜色 body {background-color: yellow}
设置一张图片做为背景 background-image:url('/articleimg/2006/07/3744/bgdesert.jpg')
垂直重复背景图片 background-image: url('/articleimg/2006/07/3744/bgdesert.jpg');background-repeat: repeat
水平重复背景图片 background-repeat: repeat-x
位置摆放 background-position: center;
固定背景图片(不会滚动) background-attachment: fixed