To repeat a background image horizontally, your CSS style should look like this:
<style type="text/css">
<!--
#der {
background: url(your_image_name.gif) repeat-x;
}
-->
</style> and on the BODY of your HTML page where you want to place the DIV tag should be like the code below:
<div id="der">Content for id "der" Goes Here</div> To repeat a background image vertically, your CSS style should look like this:
<style type="text/css">
<!--
#der {
background: url(your_image_name.gif) repeat-y;
}
-->
</style> and on the BODY of your HTML page where you want to place the DIV tag should be like the code below:
<div id="der">Content for id "der" Goes Here</div> If you want to repeat a background image both horizontally and vertically, your CSS style should look like this:
<style type="text/css">
<!--
#der {
background: url(your_image_name.gif) repeat;
}
-->
</style> and on the BODY of your HTML page where you want to place the DIV tag should be like the code below:
<div id="der">Content for id "der" Goes Here</div> As you can see, the difference in these styles can only be noticed in the CSS files. Horizontal repeating shows as:repeat-x;, vertical repeating shows as: repeat-y; and repeating both ways shows simply as: repeat;