2010-07-26 104 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