views:

153

answers:

4
+1  A: 

simple example below.

<div class="repeat"></div>

.repeat {
    background:url(/images/blkside.jpg) top left repeat-x;
    height:200px;
}
Josh
A: 

You need set measurements on the div (height/width) and once you define the image in the css you do not need to put it in the html as well

Dan
A: 

The code to repeat an image on the whole page background is:

this is the title of the web page

body { background-image: url(full link to your image goes here); background-repeat: repeat-xy; }

Hope that helps.

A: 

That code didn't show up right. So, here's the code to use for repeating an image on the whole page background:

<head>
<title>this is the title of the web page</title>

<style type="text/css">

body
{
background-image:
url(full link to your image goes here);
background-repeat: repeat-xy;
}

</style>

</head>
<body>
</body>
</html>