View Full Version : How do you make a background not repeat?


kaylee_24
04-25-2004, 08:50 PM
It keeps repeating, I have no idea why.

Valkyrie
04-25-2004, 09:13 PM
You can use CSS:

body
{ background: #000000;
background-image: url(nameofpic);
background-repeat: no-repeat; }

thejermyn
04-26-2004, 02:06 PM
if that does not work, try using this code in your body tag. bgproperties="fixed"

pb&j
04-26-2004, 02:19 PM
if that does not work, try using this code in your body tag. bgproperties="fixed"
that does not prevent repeating.
it makes the background stationary.

thejermyn
04-26-2004, 02:21 PM
oops, sorry, but if the background repeats downwards, you could use that.

kaylee_24
04-27-2004, 10:04 PM
Thank you for all the help :)