Network info Contests Portfolio (New link window) Icons (New link window) About Me Blog

Fixed Background

1. To make a fixed background, you need to have an image. But it ussually works best with images that have a one coloured background. You can make your own fixed background image if you want like I have.
I'm going to use this image as an example:


2. Now copy and paste this code on your page.


If you want the fixed background as part of your CSS, use this code instead:


3. Where it says ''IMAGE URL'' paste in your image url of your fixed background image.

4. Now we're going to edit the settings of the code to match with your image.
Where it says ''#COLOUR'' insert the background colour of your fixed background.
Where it says ''background-position'' type in the position of your fixed background image. The positions that you can use are; bottom left, bottom right, top left, and top right.

And there you have it. How to code a fixed background. :)
You can click here to see my result.


« BACK HOME FORWARD »

Aiza | Claire | Gillian | Katie | Keeley | Kelci | Linda | Roisin | Vibeke |
More/Apply



BEAUTIFULMISTAKES.NET 2007-2008