通过对象的STYLE属性,设置其BackGroundRepeat值:
repeat:重复,缺省值
no-repeat:不重复
repeat-x:在X方向重复
repeat-y:在Y方向重复另外,还可以设置背景的显示位置:
Backgroundposition:percentage(百分比)、length(浮点数组成的坐标,后跟单位—cm,mm,in,pt,pc,px)、top、center、bottom、left、right(后面5个 应该是6个)分别表示垂直与水平方向的位置,缺省为(0% 0%)BackgroundpositionX、BackgroundpositionY:指定具体的位置。

解决方案 »

  1.   

    通过对象的STYLE属性,设置其BackGroundRepeat值:
    repeat:重复,缺省值
    no-repeat:不重复
    repeat-x:在X方向重复
    repeat-y:在Y方向重复另外,还可以设置背景的显示位置:
    Backgroundposition:percentage(百分比)、length(浮点数组成的坐标,后跟单位—cm,mm,in,pt,pc,px)、top、center、bottom、left、right(后面5个 应该是6个)分别表示垂直与水平方向的位置,缺省为(0% 0%)BackgroundpositionX、BackgroundpositionY:指定具体的位置。