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

<div id="demo1">

The CSS:

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

  background-image: url(i/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:

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

	  background-image: url(i/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:

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

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