Click to See Complete Forum and Search --> : non tiled background


ArmyFO
01-12-2003, 11:13 PM
I am new to Java and need to find out how to keep a background image untiled and seem st remain in place as text is scrolled .... I have tried a couple of scripts but cannot get them to work :confused:

khalidali63
01-12-2003, 11:39 PM
The CSS code snippet below will make a n image stationary in the center of the page.

Khalid


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

}
</style>

ArmyFO
01-13-2003, 12:41 AM
thank you for the script but I am not sure of how to place it into my html and does this work in a html editor like hot dog pro? yes I am still learning html and java so please forgive all the questions I do want to get good at this :D

khalidali63
01-13-2003, 03:03 AM
put the above code in all of its entirety in the head tags of your html page.

Khalid