百度空间背景 用自已的图
来源:百度知道 编辑:UC知道 时间:2024/05/20 05:56:33
图片上传至空间相册
/*背景设置*/
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
参考资料:http://hi.baidu.com/0454ldk/blog/item/ac810546e845f0096b63e5c1.html
不要点击上面那个链接