View Full Version : Im having so much trouble making my background repeat... can anyone help me? please:(


sugarbyte
06-24-2004, 05:02 AM
this is my code

<html>
<head>

<div id="image" style="position: absolute; z-index: 2; left: 0px; top: 0px; width: 800px; height: 600px">
<img border=0 src="http://hl2maps.ansiibomber.ch/sugarbyte/eternallove/summerlayout.gif" width="800" height="600"> </div>

<div id="content" style="position: absolute; z-index: 2; left: 100px; top: 600px; width: 700px; overflow: visible">
your content<br>
your content<br>
your content<br>
your content<br>
your content<br>
your content<br>
your content<br>
your content<br>
your content<br>

</div>

<div id="nav" style="position: absolute; z-index: 2; left: ###px; top: ###px; width: ###px; overflow: visible">
your links
</div>
</head>
<body>


<style type="text/css">
body
{ background: #ffffff;
background-image: http://hl2maps.ansiibomber.ch/sugarbyte/eternallove/eternalloverbg%20copy.gif;
background-repeat: value; repeat-y
background-attachment: scroll;
}
</body>
</html>

For some reason my background isn't repeating downwise.... can anyone explain to me what im doing wrong?
Thnx ^_^

pb&j
06-24-2004, 05:11 AM
your coding is mixed up.
try this...

<html>
<head>

<style type="text/css">
body
{ background-color: #ffffff;
background-image: url(http://hl2maps.ansiibomber.ch/sugarbyte/eternallove/eternalloverbg%20copy.gif);
background-repeat: repeat-y;
}
</style>

</head>
<body>

<div id="image" style="position: absolute; z-index: 2; left: 0px; top: 0px; width: 800px; height: 600px">
<img border=0 src="http://hl2maps.ansiibomber.ch/sugarbyte/eternallove/summerlayout.gif" width="800" height="600"> </div>

<div id="content" style="position: absolute; z-index: 2; left: 100px; top: 600px; width: 700px; overflow: visible">
your content<br>
your content<br>
your content<br>
your content<br>
your content<br>
your content<br>
your content<br>
your content<br>
your content<br>
</div>


</body>
</html>

sugarbyte
06-24-2004, 05:14 AM
whoa! thnx soo much man, i would give you a huge hug right now if i could lol!!
thnx :D