CSS中我在body里加入背景,background-image: url(image/contentbg.gif)这样的话他会在Y方向给我重复
CSS中我在body里加入背景,background-image: url(image/contentbg.gif)这样的话他会在Y方向给我重复
日期:2013-01-02 14:44:43 人气:1
background: url(image/contentbg.gif) repeat-x;
background-image不能简写属性
如果你非要写background-image,应该这样写:
{
background-image: url(image/contentbg.gif) ;
background-repeat:repeat-x;
}