2010-07-26 105 views

回答

0

<body bgproperties="fixed" background="image"> 

body {background-image: url(../images/tile.gif); background-attachment: fixed; } 
1

看着来源:

html { 
    background: transparent url(http://images.freewebs.com/Members/Generationz/CSSStyles/Elements/Water/bg-body.jpg) repeat fixed 0% 0%; 
} 

这是 “固定” 的属性。

3
background-attachment: fixed 

您可以通过使用一个工具,可以让您检查通过浏览器,如Firefox的Firebug或Web督察的WebKit应用CSS很容易地发现,这一类的东西了。

1
background: transparent url('http://file.jpg') repeat fixed top left; 

fixed是关键。

0

你应该有:

background: transparent url('image path here') repeat top left; 
background-attachment: fixed