复制代码代码如下:
#box
width:200px;
height:100px;
border:1px solid red;
color:#ffffff;
background:url("photo.gif") repeat-x;
复制代码代码如下:
(y周重复排列)
#box
{
width:200px;
height:100px;
border:1px solid red;
color:#ffffff;
background:url("photo.gif") repeat-y;
}
(添加满整个div背景)
#box
{
width:200px;
height:100px;
border:1px solid red;
color:#ffffff;
background:url("photo.gif") ;
}