哪位高手告诉我怎么在我的CSS里加入背景图片?

来源:百度知道 编辑:UC知道 时间:2024/06/08 00:51:47
我想做背景的图片地址是 http://i6.photobucket.com/albums/y230/TOMOTOMO/1170410767383.jpg

劳驾哪位告诉我怎么做 最好+我Q 634768412 谢了

如何用自己的图片做背景?这里有一个图解,一看就懂~
http://hi.baidu.com/jiqiao/blog/item/de91bd3112c73ba85fdf0e3f.html

body{}中加入background:url(http://***.gif) repeat-x
注:
repeat 背景图像在纵向和横向上平铺
no-repeat 背景图像不平铺
repeat-x 背景图像在横向上平铺
repeat-y 背景图像在纵向平铺

/*如何设定+固定百度空间的背景*/
在body{}中加入
background-image:url(图片地址) ; 定义背景图片
background-repeat: no-repeat; 定义背景图片不重复
background-position: center; 定义背景居中
background-attachment: fixed; 定义背景固定,不滚动参数fixed

看看