background 命令做背景问题

[复制链接]
查看11 | 回复1 | 2009-6-9 09:18:47 | 显示全部楼层 |阅读模式
body{background:url(图片) repeat} 背景{}中添加background: url(图片地址)repeat 详细讲解: repeat 背景图像在纵向和横向上平铺 no-repeat 背景图像不平铺 repeat-x 背景图像在横向上平铺 repeat-y 背景图像在纵向平铺 代码如下: 默认代码为:body{background-color:#FFFFFF} 换成以下代码 body{background:url(背景图片地址) background-position: center;background-attachment: fixed;repeat-x #FFFFFF} ...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行