The div below is set to have a non repeating background.

<div id="demo1">

The CSS:

div#demo {
  border: 1px solid blue;
  height: 400px;
  width: 900px;

  background-image: url(texture.jpg);
  background-repeat: no-repeat;
}
		

The div below is set to have a background that repeats along the x axis.

<div id="demo2">

The CSS:

div#demo2 {
	  border: 1px solid blue;
	  height: 400px;
	  width: 900px;

	  background-image: url(texture.jpg);
	  background-repeat: repeat-x;
	}
			

The div below is set to have a background that repeats along the y axis.

<div id="demo3">

The CSS:

div#demo3 {
		  border: 1px solid blue;
		  height: 400px;
		  width: 900px;

		  background-image: url(texture.jpg);
		  background-repeat: repeat-y;
		}