Fixed Background with CSS




Put this between your HEAD-tags
<style type="text/css">
<!--
BODY {
background-image: url(images/yourimage.jpg);
background-attachment: fixed;
}
-->
</style>

This code shows you how to code the fixed background image with CSS, rather than coding it into your BODY tag. Using the HTML BODY tag to code in your background image is a deprecated attribute and value.
If you use linked style sheets, you can place the code in your linked style sheet.

Free JavaScripts provided
by Winfolinx.com


Back