|
The background-attachment property determines whether the background picture is fixed on the page or scrolls with content. You could use this property to put a fixed logo on a page (like a watermark). For example, the following specifies a fixed background picture: body { background: white url(background.gif); background-attachment: fixed ;} The values are fixed and scroll (default). You normally use this property with the <body> tag. You are supposed to be able to use it with any tag but you’ll probably find that it doesn’t work too well. And I’m not sure that Netscape supports it. |
More information Background colours and pictures background-attachment |