Change MySpace background, graphics, codes, tutorials

Setting a picture as a fixed background on your layout

The background-image property can be used to specify a background image your page. For example, to set a background image for your page, you would use something like this where image_url would be the url of the image you would like to use for your background:

note: using the “background-attachment: fixed” property makes it possible for the background to stay fixed in the same place on the screen while the page scrolls:

<style type=”text/css”>

body{background-image:url(”image_url“);
background-attachment:fixed;}

</style>

Leave a comment for: "Setting a picture as a fixed background on your layout"