Click to See Complete Forum and Search --> : HELP with static background! PLEASE!!


forfrdm12
06-17-2003, 05:44 PM
does anyone know how to have a static background like the one in http://www.afireinside.net. if you know how to or have the code please help!!!!:)

Khalid Ali
06-17-2003, 05:46 PM
use
position:fixed ;
CSS property

forfrdm12
06-17-2003, 06:21 PM
Could you kindly expand on that. Because im kinda new at this whole thing, and im retarded. Please.

gokou
06-17-2003, 06:51 PM
The link didn't work on that page so I don't know exactly how you wanted it. Put this in your head section.

<style type="text/css">
body
{
background-image:
url("url to image");
background-repeat:
no-repeat;
background-attachment:
fixed
background-position:
center center
}
</style>


[edit]I just looked at the page. The main page isn't a static background(if that is what you meant). What I think you meant was the dark or light page, that wasn't a background, it was done with frames.

forfrdm12
06-17-2003, 08:10 PM
yeah what i meant was on www.afireinside.net/index.html not the top and bottom frame but the image to the left in the middle part. Thx:)

bleep
07-13-2003, 10:21 AM
If you can live with it only working in MSIE put this ... bgproperties="fixed" ... in the BODY tag. (Haven't tried it in NS 7 though)