Home     Suze Says..blog      Link Cloud     Safelists     Traffic Exchange      Play Games- uVme

A Fixed Background Image

How to add a fixed background to your page

    

    This is a great one.. one of my favorites.. this code will make a fixed background, which is a background image that will stay in one place while the rest of your text and images scroll over the top of it.  It is a nifty trick if you are using a background image on your web page.

To make your background fixed, you will need to be using a background image. After you have it in place, you just need to add an extra attribute to your BODY tag:

bgproperties="fixed"

So, your body tag would look something like this:

<BODY background="image.gif" bgproperties="fixed">

Not bad, so how about an example? Well, if you really want to see it, click on the link below:

Fixed Background Example

This trick is often used when a large landscape is used as a background, or if the background image is a single picture or logo in the middle of the page. Of course, as you saw in the example page, it works for backgrounds that tile as well. So, go have some fun with it!





_____________________________________________________________________________________________________________________________


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Frames    New Browser Window  Fixed BG  

webmaster
Middleburg, FL 32068