语法: 
 
background-repeat : repeat | no-repeat | repeat-x | repeat-y 
 
参数: 
 
repeat :  背景图像在纵向和横向上平铺
no-repeat :  背景图像不平铺
repeat-x :  背景图像在横向上平铺
repeat-y :  背景图像在纵向平铺 

解决方案 »

  1.   

    早的浏览器 背景图片是不能拉伸的只能 平铺  和设置起点 位置要实现拉伸 只能 在显示的内容下面放一张图片(图片是自动拉伸的)当然  是现在新的浏览器  直接  
    background-size:100% 100%;
      

  2.   

    <body>    
    <div id="Layer1" style="position:absolute; width:100%; height:100%; z-index:-1">    
    <img src="imgs/login.jpg" height="100%" width="100%"/>    
    </div> 
    <body>